public class TrapSpaceList extends ArrayList<TrapSpace> implements StateList
| Modifier and Type | Field and Description |
|---|---|
NodeInfo[] |
nodes |
boolean |
terminal |
modCount| Constructor and Description |
|---|
TrapSpaceList(TrapSpaceTask settings,
LogicalModel model) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(TrapSpace t) |
boolean |
addPattern(byte[] pattern,
boolean[] variant) |
byte[] |
fillState(byte[] state,
int index)
Retrieve a full state instead of a single value.
|
byte |
get(int row,
int col)
Retrieve a specific value
|
NodeInfo[] |
getComponents()
Get the components defining this list of states.
|
List<Integer>[] |
getInclusionDiagram() |
int |
getNVars() |
boolean[][] |
inclusion() |
boolean |
setExtra(boolean extra)
Include or hide extra components.
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitproject_on_components, sizecontainsAll, equals, hashCodeparallelStream, streampublic final boolean terminal
public final NodeInfo[] nodes
public TrapSpaceList(TrapSpaceTask settings, LogicalModel model)
public boolean addPattern(byte[] pattern,
boolean[] variant)
public boolean add(TrapSpace t)
public boolean[][] inclusion()
public int getNVars()
public NodeInfo[] getComponents()
StateListgetComponents in interface StateListpublic byte get(int row,
int col)
StateListpublic boolean setExtra(boolean extra)
StateListpublic byte[] fillState(byte[] state,
int index)
StateListCopyright © 2012–2020. All rights reserved.