Modifier and Type | Method and Description |
---|---|
static SetVar |
VariableFactory.set(String NAME,
int[] ENVELOPE,
SetType ENV_TYPE,
int[] KERNEL,
SetType KER_TYPE,
Solver SOLVER)
Builds a set variable with an initial domain given by ENVELOP and KERNEL.
|
Constructor and Description |
---|
SetVarImpl(String name,
int[] env,
SetType envType,
int[] ker,
SetType kerType,
Solver solver)
Creates a Set variable
|
Modifier and Type | Method and Description |
---|---|
SetType |
UndirectedGraph.getType() |
SetType |
IGraph.getType()
Get the type of data structures used in the graph
|
SetType |
DirectedGraph.getType() |
Constructor and Description |
---|
DirectedGraph(int n,
SetType type,
boolean allNodes)
Creates an empty graph.
|
DirectedGraph(Solver solver,
int n,
SetType type,
boolean allNodes)
Creates an empty backtrable graph of n nodes
Allocates memory for n nodes (but they should then be added explicitly,
unless allNodes is true).
|
UndirectedGraph(int n,
SetType type,
boolean allNodes)
Creates an empty (non-backtrackable) undirected graph.
|
UndirectedGraph(Solver solver,
int n,
SetType type,
boolean allNodes)
Creates an empty backtrable undirected graph.
|
Modifier and Type | Field and Description |
---|---|
static SetType |
SetType.ENVELOPE_BEST |
static SetType |
SetType.KERNEL_BEST |
Modifier and Type | Method and Description |
---|---|
SetType |
Set_Trail.getSetType() |
SetType |
Set_Std_BitSet.getSetType() |
SetType |
Set_Full.getSetType() |
SetType |
Set_Copy.getSetType() |
SetType |
ISet.getSetType() |
static SetType |
SetType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SetType[] |
SetType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ISet |
SetFactory.makeSet(SetType type,
int maximumSize)
Make a set of integers in the range [0,maximumSize-1]
|
static ISet |
SetFactory.makeStoredSet(SetType type,
int maximumSize,
Solver solver)
Make a stored set of integers in the range [0,maximumSize-1]
Such a set is restored after a backtrack
|
Modifier and Type | Method and Description |
---|---|
SetType |
Set_LinkedList.getSetType() |
SetType |
Set_2LinkedList.getSetType() |
Modifier and Type | Method and Description |
---|---|
SetType |
Set_Std_Array.getSetType() |
SetType |
Set_BitSet.getSetType() |
SetType |
Set_Array.getSetType() |
Modifier and Type | Method and Description |
---|---|
SetType |
Set_Swap_Hash.getSetType() |
SetType |
Set_Swap_Array.getSetType() |
Copyright © 2015. All rights reserved.