14 #ifndef OR_TOOLS_SAT_TABLE_H_ 15 #define OR_TOOLS_SAT_TABLE_H_ 21 #include "absl/types/span.h" 34 std::vector<std::vector<int64_t>> tuples, Model*
model);
41 std::vector<std::vector<int64_t>> tuples,
49 const std::vector<std::vector<Literal>>& literal_tuples,
50 const std::vector<Literal>& line_literals);
65 const std::vector<IntegerVariable>& vars,
66 const std::vector<std::vector<int64_t>>& automaton, int64_t initial_state,
67 const std::vector<int64_t>& final_states);
72 #endif // OR_TOOLS_SAT_TABLE_H_ void AddNegatedTableConstraint(absl::Span< const IntegerVariable > vars, std::vector< std::vector< int64_t >> tuples, Model *model)
Class that owns everything related to a particular optimization model.
std::function< void(Model *)> TransitionConstraint(const std::vector< IntegerVariable > &vars, const std::vector< std::vector< int64_t >> &automaton, int64_t initial_state, const std::vector< int64_t > &final_states)
void AddTableConstraint(absl::Span< const IntegerVariable > vars, std::vector< std::vector< int64_t >> tuples, Model *model)
Collection of objects used to extend the Constraint Solver library.
std::function< void(Model *)> LiteralTableConstraint(const std::vector< std::vector< Literal >> &literal_tuples, const std::vector< Literal > &line_literals)