C++ Reference: class ModelParser

Note: This documentation is automatically generated.

Model Parser
Method
BeginVisitConstraint

Return type: void

Arguments: const std::string& type_name, const Constraint* const constraint

BeginVisitIntegerExpression

Return type: void

Arguments: const std::string& type_name, const IntExpr* const expr

BeginVisitModel

Return type: void

Arguments: const std::string& solver_name

Header/footers.

EndVisitConstraint

Return type: void

Arguments: const std::string& type_name, const Constraint* const constraint

EndVisitIntegerExpression

Return type: void

Arguments: const std::string& type_name, const IntExpr* const expr

EndVisitModel

Return type: void

Arguments: const std::string& solver_name

ModelParser

~ModelParser

VisitIntegerArgument

Return type: void

Arguments: const std::string& arg_name, int64_t value

Integer arguments

VisitIntegerArrayArgument

Return type: void

Arguments: const std::string& arg_name, const std::vector<int64_t>& values

VisitIntegerExpressionArgument

Return type: void

Arguments: const std::string& arg_name, IntExpr* const argument

Variables.

VisitIntegerMatrixArgument

Return type: void

Arguments: const std::string& arg_name, const IntTupleSet& values

VisitIntegerVariable

Return type: void

Arguments: const IntVar* const variable, IntExpr* const delegate

VisitIntegerVariable

Return type: void

Arguments: const IntVar* const variable, const std::string& operation, int64_t value, IntVar* const delegate

VisitIntegerVariableArrayArgument

Return type: void

Arguments: const std::string& arg_name, const std::vector<IntVar*>& arguments

VisitIntervalArgument

Return type: void

Arguments: const std::string& arg_name, IntervalVar* const argument

Visit interval argument.

VisitIntervalArrayArgument

Return type: void

Arguments: const std::string& arg_name, const std::vector<IntervalVar*>& arguments

VisitIntervalVariable

Return type: void

Arguments: const IntervalVar* const variable, const std::string& operation, int64_t value, IntervalVar* const delegate

VisitSequenceArgument

Return type: void

Arguments: const std::string& arg_name, SequenceVar* const argument

Visit sequence argument.

VisitSequenceArrayArgument

Return type: void

Arguments: const std::string& arg_name, const std::vector<SequenceVar*>& arguments

VisitSequenceVariable

Return type: void

Arguments: const SequenceVar* const variable