public interface StateList
| Modifier and Type | Field and Description |
|---|---|
static int |
FREE |
static int |
JOKER |
static int |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
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.
|
default StateListProjection |
project_on_components(Iterable<String> selectedComponents)
Project the list of states on a subset of components
|
boolean |
setExtra(boolean extra)
Include or hide extra components.
|
int |
size()
get the number of states or patterns in the list.
|
static final int JOKER
static final int FREE
static final int UNDEFINED
NodeInfo[] getComponents()
int size()
byte get(int row,
int col)
row - the state numbercol - the component numberboolean setExtra(boolean extra)
extra - if true, extra components will be includedbyte[] fillState(byte[] state,
int index)
state - reuse an existing array if possibleindex - the state numberdefault StateListProjection project_on_components(Iterable<String> selectedComponents)
selectedComponents - Copyright © 2012–2020. All rights reserved.