limp-0.1.0.0: representation of Integer Linear Programs

Safe HaskellNone
LanguageHaskell2010

Numeric.Limp.Rep

Documentation

class (Num (Z c), Ord (Z c), Eq (Z c), Integral (Z c), Num (R c), Ord (R c), Eq (R c)) => Rep c where Source

Minimal complete definition

Nothing

Associated Types

data Z c Source

data R c Source

Methods

fromZ :: Z c -> R c Source

Instances

data Assignment z r c Source

Constructors

Assignment (Map z (Z c)) (Map r (R c)) 

zOf :: (Rep c, Ord z) => Assignment z r c -> z -> Z c Source

rOf :: (Rep c, Ord r) => Assignment z r c -> r -> R c Source

zrOf :: (Rep c, Ord z, Ord r) => Assignment z r c -> Either z r -> R c Source