|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--quoggles.QAssign
Holds static row assignment arrays.
| Field Summary | |
private static boolean[] |
assignedBEPRows
An entry at i is true if an
BoolPredicateEnd_Box sets its output at row i. |
private static boolean[] |
assignedRows
An entry at i is true if an IOuputBox sets its
output at row i. |
| Constructor Summary | |
QAssign()
|
|
| Method Summary | |
static void |
assignBEPRow(int rowNr,
boolean assign)
Specifies that the given row number has been assigned by an IOutputBox or that it has been freed (depending on the
boolean parameter). |
static void |
assignRow(int rowNr,
boolean assign)
Specifies that the given row number has been assigned by an IOutputBox or that it has been freed (depending on the
boolean parameter). |
static boolean[] |
getAssignedBEPRowsCopy()
This method may only be used to easily make a copy. |
static boolean[] |
getAssignedRowsCopy()
This method may only be used to easily make a copy. |
static boolean |
getBEPRowAssignment(int rowNr)
Returns true if the given row number has been assigned by
a BoolPredicateEnd_Box. |
static int |
getMaxAssignedBEPRowNr()
Returns the highest possible row assignement number for BoolPredicateEnd_Boxes. |
static int |
getMaxAssignedRowNr()
Returns the highest possible row assignement number. |
static int |
getNextFreeBEPRowNumber()
Get the first row number that is not assigned to any BoolPredicateEnd_Box box, i.e.
|
static int |
getNextFreeRowNumber()
Get the first row number that is not assigned to any IOutputBox box, i.e.
|
static boolean |
getRowAssignment(int rowNr)
Returns true if the given row number has been assigned by
an IOutputBox. |
static void |
resetAssignedRows()
Setes all entries in the assignedRows array to
false. |
static void |
setAssignedBEPRows(boolean[] ar)
This method may only be used with a parameter previously retrieved via getAssignedBEPRowsCopy(). |
static void |
setAssignedRows(boolean[] ar)
This method may only be used with a parameter previously retrieved via getAssignedRowsCopy(). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static boolean[] assignedRows
i is true if an IOuputBox sets its
output at row i.
private static boolean[] assignedBEPRows
i is true if an
BoolPredicateEnd_Box sets its output at row i.
| Constructor Detail |
public QAssign()
| Method Detail |
public static boolean getRowAssignment(int rowNr)
true if the given row number has been assigned by
an IOutputBox.
rowNr -
true if the given row number has been assigned by
an IOutputBoxpublic static void resetAssignedRows()
assignedRows array to
false.
public static void assignRow(int rowNr,
boolean assign)
IOutputBox or that it has been freed (depending on the
boolean parameter).
rowNr - assign - public static boolean getBEPRowAssignment(int rowNr)
true if the given row number has been assigned by
a BoolPredicateEnd_Box.
rowNr -
BoolPredicateEnd_Box
public static void assignBEPRow(int rowNr,
boolean assign)
IOutputBox or that it has been freed (depending on the
boolean parameter).
rowNr - assign - public static int getMaxAssignedRowNr()
public static int getMaxAssignedBEPRowNr()
BoolPredicateEnd_Boxes.
BoolPredicateEnd_Boxespublic static int getNextFreeRowNumber()
IOutputBox box, i.e.
the first number i where
assignedRows[i] == false.
Returns -1 if no such number can be found (overflow).
-1 if no free number available.public static int getNextFreeBEPRowNumber()
BoolPredicateEnd_Box box, i.e.
the first number i where
assignedRows[i] == false.
Returns -1 if no such number can be found (overflow).
-1 if no free number available.public static boolean[] getAssignedRowsCopy()
public static boolean[] getAssignedBEPRowsCopy()
public static void setAssignedBEPRows(boolean[] ar)
getAssignedBEPRowsCopy().
ar - copy of assigned BEP rows arraypublic static void setAssignedRows(boolean[] ar)
getAssignedRowsCopy().
ar - copy of assigned BEP rows array
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||