Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Returns the domain of possible labels/actions from a given state.
Returns the domain of possible labels/actions from a given state.
Value parameters
- state
-
the current state
Attributes
- Returns
-
all feasible labels for the given state
- Definition Classes
Given a solution (a sequence of applied labels), returns its value and checks if the solution respects the problem's constraints.
Given a solution (a sequence of applied labels), returns its value and checks if the solution respects the problem's constraints.
Value parameters
- solution
-
A solution of the problem (sequence of labels).
Attributes
- Returns
-
The value of the input solution
- Definition Classes
Returns the initial state of the problem.
Returns the initial state of the problem.
Attributes
- Returns
-
the state representing the starting point of the optimization
- Definition Classes
-
Problem -> Problem
Returns the initial objective value associated with the initial state.
Returns the initial objective value associated with the initial state.
Attributes
- Returns
-
the starting value of the objective function
- Definition Classes
-
Problem -> Problem
Checks whether the given state is a target (sink) state.
Checks whether the given state is a target (sink) state.
Value parameters
- state
-
the current state
Attributes
- Returns
-
true if the state is a target state, false otherwise
- Definition Classes
-
Problem -> Problem
Returns the known optimal value of the problem, if available.
Returns the known optimal value of the problem, if available.
Attributes
- Returns
-
an Option containing the known optimal value, or None if unknown
- Definition Classes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
Applies a label/action to a state, computing the next state according to the problem's transition function.
Applies a label/action to a state, computing the next state according to the problem's transition function.
Value parameters
- label
-
the label to apply
- state
-
the state from which the transition originates
Attributes
- Returns
-
the resulting state after applying the label
- Definition Classes
-
Problem -> Problem
Computes the change in objective value resulting from applying a label to a given state.
Computes the change in objective value resulting from applying a label to a given state.
Value parameters
- label
-
the label to apply
- state
-
the state from which the transition originates
Attributes
- Returns
-
the incremental objective cost/value associated with this label
- Definition Classes
-
Problem -> Problem
Inherited methods
Used by the solver. Converts the output of domainLabels from Scala to Java.
Used by the solver. Converts the output of domainLabels from Scala to Java.