|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--logicell.CLogiTemplate
Generates the global structure according to Logical String entry. A LogiTemplate represents an equation.
Field Summary | |
(package private) java.util.Vector |
Blocks1
Template blocks |
(package private) java.util.Vector |
Blocks2
Template blocks |
(package private) int |
CTHeight
Size |
(package private) int |
CTWidth
Size |
private boolean[] |
Entries
Entries tab |
(package private) java.lang.String |
Entry
Processed Entry (xor...) |
(package private) java.lang.String |
EntryU
User Entry (equation) |
(package private) static boolean |
LEFT
|
(package private) static int |
LT_FALSE
|
(package private) static int |
LT_NONE
|
(package private) static int |
LT_TRUE
|
(package private) CLogicellUniverse |
MyUniverse
pointer to Universe |
private int |
NbEntries
Entries # |
private int |
OutpCellX
Position of the Output cell |
private int |
OutpCellY
Position of the Output cell |
private CCells |
OutputBlock
OutputBlock |
private int |
OutputGeneration
OutputGeneration |
private int |
OutputVal
Output value |
private java.lang.String |
PostFixEntry
Entry in postfix notation |
(package private) static boolean |
RIGHT
|
(package private) int |
x
Position of the template |
(package private) int |
y
Position of the template |
Constructor Summary | |
CLogiTemplate(CLogicellUniverse univ,
int pattype)
Construct a simple conway pattern |
|
CLogiTemplate(CLogicellUniverse univ,
java.lang.String _e,
boolean[] entries,
int _x,
int _y)
Construct a logical structure |
Method Summary | |
private void |
GenBlocks(java.util.Stack Results)
Generate blocks |
(package private) int |
GetOutputState(int gen)
Get output cell state |
private boolean |
ParseEntry()
Parse entry string and generates blocks. |
Methods inherited from class java.lang.Object |
|
Field Detail |
static final boolean LEFT
static final boolean RIGHT
static final int LT_NONE
static final int LT_TRUE
static final int LT_FALSE
CLogicellUniverse MyUniverse
java.lang.String EntryU
java.lang.String Entry
int x
int y
int CTWidth
int CTHeight
java.util.Vector Blocks1
java.util.Vector Blocks2
private java.lang.String PostFixEntry
private boolean[] Entries
private int NbEntries
private int OutpCellX
private int OutpCellY
private CCells OutputBlock
private int OutputGeneration
private int OutputVal
Constructor Detail |
public CLogiTemplate(CLogicellUniverse univ, int pattype)
public CLogiTemplate(CLogicellUniverse univ, java.lang.String _e, boolean[] entries, int _x, int _y)
Method Detail |
int GetOutputState(int gen)
private boolean ParseEntry()
private void GenBlocks(java.util.Stack Results)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |