Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: api/rascal/lllinear/extracted
Source used for this grammar: Paul Klint, Jurgen J. Vinju, analysis::linearprogramming::LLLinearProgramming
, 2009–2013 [Explore]
LLCoefficients
, LLObjectiveFun
, ConstraintType
, LLConstraint
, LLConstraints
, LLVariableVals
, LLSolution
), 0 root (—), 3 top (LLObjectiveFun
, LLConstraints
, LLSolution
), 0 bottom (—).[llObjFun]
, [leq]
, [eq]
, [geq]
, [llConstraint]
, [llSolution]
.⟨coefficients⟩
2, ⟨const⟩
2, ⟨ctype⟩
, ⟨varVals⟩
, ⟨funVal⟩
.LLCoefficients ::=
integer
LLObjectiveFun ::= [llObjFun]::LLCoefficients ⟨const⟩:integer⟨coefficients⟩:
ConstraintType ::= [leq]::ε [eq]::ε [geq]::ε
LLConstraint ::= [llConstraint]::LLCoefficients ⟨ctype⟩:ConstraintType ⟨const⟩:integer⟨coefficients⟩:
LLConstraints ::=
LLConstraint
LLVariableVals ::=
integer
LLSolution ::= [llSolution]::LLVariableVals ⟨funVal⟩:integer⟨varVals⟩: