Copyright | (c) Pablo Couto 2014 |
---|---|
License | GPL-3 |
Maintainer | pablo@infty.in |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Types and constructors for use in Referees.Solver.
- type Capacity = Int
- type Copies = Int
- newtype Index a = Index {}
- type Row = Index Row'
- data Row'
- type Col = Index Col'
- data Col'
- type Profit = Double
- type ProfitMatrix = Matrix Profit
- type ProfitFunction a b c = a -> b -> Maybe c -> Profit
- data Bounds a = Bounds {}
- mkBounds :: (Num a, Ord a) => a -> a -> Maybe (Bounds a)
Documentation
Note that values of this type, when used to represent indices for a
Matrix
, may not be directly usable with access functions from
Data.Matrix. This is due to the possibility of some conversion between
indices for Matrix
s and []
having taken place in their construction.
type ProfitMatrix = Matrix Profit Source
type ProfitFunction a b c Source