|
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ukacgla_KMap.Abstract_Minterm
Field Summary | |
protected java.util.Vector |
cellVector
Holds all cell Objects. |
protected java.lang.String |
correct
Records if Minterm is correct or not. |
protected int[][] |
dataMap
2D integer array used to map Cells. |
protected int |
dataMapCols
Number of columns in dataMap. |
protected int |
dataMapRows
Number of rows in dataMap. |
protected java.lang.StringBuffer |
minterm
Holds the String description of the location of all Cell objects added. |
Constructor Summary | |
Abstract_Minterm(java.lang.String b,
int rows,
int cols)
Used to combine Cell objects into a single simplified Minterm. |
Method Summary | |
void |
add(Abstract_Cell c)
Adds Cell to Vector. |
java.lang.String |
getCorrect()
Returns String recording if Minterm is correct or false. |
java.lang.String |
getMinterm()
Returns Minterm as a string. |
abstract void |
simplify()
Concrete child classes will read dataMap[][] for specific sequences. |
void |
trim()
Used to trim minterms of any excess '+'s created during building. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Vector cellVector
protected java.lang.String correct
protected int[][] dataMap
protected int dataMapCols
protected int dataMapRows
protected java.lang.StringBuffer minterm
Constructor Detail |
public Abstract_Minterm(java.lang.String b, int rows, int cols)
Method Detail |
public void add(Abstract_Cell c)
public java.lang.String getCorrect()
public java.lang.String getMinterm()
public abstract void simplify()
public void trim()
|
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |