public class BaseSTGLayout extends Object
Constructor and Description |
---|
BaseSTGLayout() |
Modifier and Type | Method and Description |
---|---|
protected int |
getChange(byte[] diffstate)
Find the first change between two states.
|
protected byte[] |
getDiffStates(DynamicNode sourceNode,
DynamicNode targetNode)
Construct the | bit operator for a table of byte.
|
byte[] |
getMaxValues(List<RegulatoryNode> nodeOrder)
Retrieve the maximal values of all components.
|
protected int |
getState(byte[] state,
int i)
Get the level of a component
|
protected int getState(byte[] state, int i)
state
- the state to consideri
- the index of the componentprotected int getChange(byte[] diffstate)
diffstate
- the difference between the two statesprotected byte[] getDiffStates(DynamicNode sourceNode, DynamicNode targetNode)
sourceNode
- targetNode
- public byte[] getMaxValues(List<RegulatoryNode> nodeOrder)
Copyright © 2005–2020. All rights reserved.