class
#include <IUniverseVariable.hpp>
IUniverseVariable Contents
The IUniverseVariable class represents a variable in a constraint problem.
Derived classes
- class UniverseJavaVariable
Constructors, destructors, conversion operators
- ~IUniverseVariable() defaulted virtual
Public functions
- auto getName() const -> const std::string& pure virtual
- auto getId() const -> int pure virtual
-
auto getDomain() const -> Universe::
IUniverseDomain* pure virtual -
auto getConstraints() -> const std::vector<Universe::
IUniverseConstraint*>& pure virtual
Function documentation
Universe:: IUniverseVariable:: ~IUniverseVariable() virtual defaulted
Destroys this IUniverseVariable.
const std::string& Universe:: IUniverseVariable:: getName() const pure virtual
Returns | The name of this variable. |
---|
Gives the name of this variable.
int Universe:: IUniverseVariable:: getId() const pure virtual
Returns | The internal identifier of this variable. |
---|
Gives the internal identifier of this variable.
Universe:: IUniverseDomain* Universe:: IUniverseVariable:: getDomain() const pure virtual
Returns | The domain of this variable. |
---|
Gives the domain of this variable.
const std::vector<Universe:: IUniverseConstraint*>& Universe:: IUniverseVariable:: getConstraints() pure virtual
Returns | The constraints of this variable. |
---|
Gives the constraints containing this variable.