[ library(bfs) | The ECLiPSe Libraries | Reference Manual | Alphabetic Index ]

BfsInstance:get(++What, -Value)

Obtain information for the problem associated with BfsInstance.
What
Specification for information wanted (atom)
Value
Returned value of What

Description

Retrieve information about the problem associated with the bfs instance BfsInstance. What can take one of the following values:

frac_vars
Returns the list of variables declared as integer for BfsInstance which have fractional solution values in the current node of the search tree.

branches
Returns the branching decisions taken from the root to the current node of the search tree.

data
Returns the user-defined data associated with the instance.

node_count
Returns the total number of nodes in the search tree.

Exceptions

(6) out of range
What is not a valid value.