class MStackingPlanner.Plan extends Object
Constructor and Description |
---|
Plan(int spontNodeCount,
boolean more,
boolean none,
int solo)
Constructor for the result if only one bracket must be built.
|
Plan(int spontNodeCount,
boolean more,
boolean none,
Integer... factors)
Constructor for the result to return.
|
Plan(int spontNodeCount,
boolean more,
boolean none,
List<Integer> factors)
Constructor for the result to return.
|
Modifier and Type | Method and Description |
---|---|
int |
factorsSize()
Return the number of all factors / brackets.
|
boolean |
noFactorsPending()
Return whether there are definitely no more factors beyond those in this instance.
|
MStackingPlanner.Plan |
rest()
Return the rest list after having realized (after dropping) the very first factor.
|
int |
spontNodeCount()
Return FIXME
|
int |
topFactor()
Return the very first factor of the found sequential order.
|
Plan(int spontNodeCount, boolean more, boolean none, Integer... factors)
spontNodeCount
- quality measure for variants: number of required synthetic nodes.more
- there are definitely more factors, not yet in this instancenone
- there are definitely no more factors beyond those in this instancefactors
- the result = the denominators of the bracket proprotions in their
sequential order.Plan(int spontNodeCount, boolean more, boolean none, List<Integer> factors)
#Plan(int,boolean,boolean,Integer...)
.Plan(int spontNodeCount, boolean more, boolean none, int solo)
#Plan(int,boolean,boolean,Integer...)
.public MStackingPlanner.Plan rest()
public int topFactor()
public int spontNodeCount()
public int factorsSize()
public boolean noFactorsPending()