#include <branchScheme.h>
Inheritance diagram for branchScheme:
Public Types | |
enum | TSearchLevel { SEARCH_FEASIBLE = 0, SEARCH_CONSTRUCT = 1, SEARCH_EXHAUSTIVE = 2 } |
enum | TSearchState { INITIAL_DFS = 0, CONSTRUCT_BFS = 1, CONSTRUCT_DFS = 2, EXHAUSTIVE_BFS = 3, EXHAUSTIVE_DFS = 4 } |
Public Member Functions | |
branchScheme (branchNode< TItem, TObj > *, TObj, TModule module, TSearchLevel=SEARCH_EXHAUSTIVE) throw () | |
~branchScheme () throw () | |
TSearchState | SearchState () throw () |
unsigned long | Size () const throw () |
unsigned long | Allocated () const throw () |
Data Fields | |
moduleGuard | M |
unsigned long | nActive |
unsigned long | maxActive |
unsigned long | nIterations |
unsigned long | nDFS |
unsigned long | depth |
bool | feasible |
TSearchLevel | level |
TFloat | sign |
TObj | savedObjective |
TObj | bestBound |
Protected Member Functions | |
void | Optimize () throw () |
bool | Inspect (branchNode< TItem, TObj > *) throw () |
branchNode< TItem, TObj > * | SelectActiveNode () throw () |
void | QueueExploredNode (branchNode< TItem, TObj > *) throw () |
void | StripQueue () throw () |
|
The intended result of applying a branch scheme.
|
|
|
|
|
|
|
Reimplemented from managedObject. |
|
|
|
|
|
|
|
Query the current search state.
|
|
|
|
Implements goblinRootObject. |
|
|
|
|
|
Bound on the number of non-zeros (only a copy).
|
|
Flag indicating if problem feasibility has been reached yet.
|
|
|
|
|
|
Maximum number of queued subproblems.
|
|
Number of queued subproblems.
|
|
Number of dfs steps since the last bfs or improvement.
|
|
Total number of evaluated subproblems.
|
|
|
|
Object sense imported from the root node.
|