Constructor and Description |
---|
SetVarImpl(String name,
int[] ker,
SetType kerType,
int[] env,
SetType envType,
Model model)
Creates a Set variable
|
Modifier and Type | Method and Description |
---|---|
SetType |
IGraph.getType()
Get the type of data structures used in the graph
|
SetType |
DirectedGraph.getType() |
SetType |
UndirectedGraph.getType() |
Constructor and Description |
---|
DirectedGraph(int n,
SetType type,
boolean allNodes)
Creates an empty graph.
|
DirectedGraph(Model model,
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(Model model,
int n,
SetType type,
boolean allNodes)
Creates an empty backtrable undirected graph.
|
Modifier and Type | Method and Description |
---|---|
SetType |
ISet.getSetType() |
SetType |
StdSet.getSetType() |
SetType |
Set_ReadOnly.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 offSet)
Creates an empty set of integers greater or equal than
offSet |
static ISet |
SetFactory.makeStoredSet(SetType type,
int offSet,
Model model)
Creates a stored set of integers greater or equal than
offSet
Such a set is restored after a backtrack |
Modifier and Type | Method and Description |
---|---|
SetType |
Set_Std_BitSet.getSetType() |
SetType |
Set_BitSet.getSetType() |
Modifier and Type | Method and Description |
---|---|
SetType |
Set_CstInterval.getSetType() |
SetType |
Set_FixedArray.getSetType() |
Modifier and Type | Method and Description |
---|---|
SetType |
IntIterableRangeSet.getSetType() |
Modifier and Type | Method and Description |
---|---|
SetType |
Set_LinkedList.getSetType() |
Modifier and Type | Method and Description |
---|---|
SetType |
Set_Std_Swap2.getSetType() |
SetType |
Set_Swap.getSetType() |
SetType |
Set_Swap2.getSetType() |
Copyright © 2018. All rights reserved.