Stay organized with collections
Save and categorize content based on your preferences.
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 |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[],["The `ModelParser` class in C++ handles model analysis through various visit methods. It allows visiting constraints, integer expressions, and the model itself using `BeginVisit` and `EndVisit` functions. It also enables inspecting integer, interval, and sequence variables and their arguments, and includes methods to manage array arguments, for example, `VisitIntegerArgument`, `VisitIntervalArrayArgument`, etc. It includes methods for parsing and inspecting models.\n"],null,[]]