C++ Reference: table
Note: This documentation is automatically generated.
Function |
Type |
Arguments |
Comments |
LiteralTableConstraint | Return type: std::function<void(Model*)> Arguments: const std::vector<std::vector<Literal>>& literal_tuples, const std::vector<Literal>& line_literals |
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 C++ reference documentation provides information on the `LiteralTableConstraint` function."],["`LiteralTableConstraint` utilizes literal tuples and line literals within a model to enforce constraints."],["The function's type is defined as `std::function\u003cvoid(Model*)\u003e` and accepts arguments of type `const std::vector\u003cstd::vector\u003cLiteral\u003e\u003e&` and `const std::vector\u003cLiteral\u003e&`."],["Documentation for `LiteralTableConstraint` can be found on GitHub within the or-tools repository."]]],["The content defines the `LiteralTableConstraint` function in C++, which is a core component for constraint satisfaction. It takes two arguments: `literal_tuples`, a vector of vectors of `Literal` objects, and `line_literals`, a vector of `Literal` objects. This function's return type is `std::function\u003cvoid(Model*)\u003e`, indicating it returns a function that takes a `Model*` as input, presumably to modify a constraint model. This is part of the or-tools library.\n"]]