Add a new subclass of Exec at any time.
For any subDesc where subDesc.equals(subclassInstance.getClassDescription()),
Exec.getSubclass(subDesc) returns subclassInstance.getClass().
If myFuel == ALWAYS_CALCULATE (default),
and Options.costAvailable is big enough,
D() always calculates DForProxy() instead of returning the previous value.
Returns a number proportional to the approximate total DEPENDENCE between
the bayes-node (my param0), its childs, and between each child and each other child.
get more bytes from byteMaker if count is less than this *
private int minCount = -1;
public final int minCount(){ return minCount; }
/** how many bytes to get from byteMaker at a time *
private int byteMakerIncrement = -1;
public final int byteMakerIncrement(){ return byteMakerIncrement; }
/** where to get bytes from when needed *
private ByteMaker byteMaker = null;
public final ByteMaker byteMaker(){ return byteMaker; }
Converts a sequence
(that often has duplicate objects)
of CS objects
(that probably do not have enough params)
to a tree or graph-shape of CS objects,
where each CS object has a valid quantity of params,
assuming your parenthesis (example: Compile.LPAREN) allow that.
Returns size of conditional-probability table in param1,
which is EXPONENTIALLY bigger than quantity of child nodes
and anything else in this BayesNode.
Returns true if this CS has permission to execute, and consumes 1 exec permission.
If myFuel is at least 1, decrements it and returns true.
Or if myFuel == ALWAYS_CALCULATE, returns true but does not decrement.
Else returns false.
Does not call DForProxy().
WARNING: if returns false, could have deleted but not moved other params down 1 index.
WARNING: if duplicates not allowed, can not slide params down 1 index the standard way, returns false.
deletes a char from the string and returns a Const from the constant-pool with its value *
public CS deleteP(int index){
if (index < 0 || countP() <= index){
String t = text.getText();
text.setText(
t.substring(0, index) +
t.substring(index+1, t.length())
);
if (index < execPosition) execPosition--;
return Const.pool( (double) t.charAt(index) );
}
return null;
}