- java.lang.Object
-
- org.ojalgo.optimisation.integer.IntegerSolver.NodeStatistics
-
- Enclosing class:
- IntegerSolver
static final class IntegerSolver.NodeStatistics extends java.lang.ObjectWhen a node is determined to be a leaf - no further branching - what was the reason?
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.atomic.LongAddermyAbandonedprivate java.util.concurrent.atomic.LongAddermyExhaustedprivate java.util.concurrent.atomic.LongAddermyInfeasibleprivate java.util.concurrent.atomic.LongAddermyInteger
-
Constructor Summary
Constructors Constructor Description NodeStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) booleanabandoned()Node was created, and deferred, but then abandoned and never evaluated (sub/node problem never solved).(package private) longcountEvaluatedNodes()(package private) intcountIntegerSolutions()(package private) longcountSkippedNodes()(package private) longcountTotalNodes()(package private) booleanexhausted()Node evaluated, and solution not integer, but estimate NOT possible to find better integer solution.(package private) booleanfailed()Failed to solve node problem because of some unexpected error – not because the node was infeasible.(package private) booleaninfeasible()Node problem infeasible(package private) booleaninteger()Integer solution foundjava.lang.StringtoString()
-
-
-
Field Detail
-
myAbandoned
private final java.util.concurrent.atomic.LongAdder myAbandoned
-
myExhausted
private final java.util.concurrent.atomic.LongAdder myExhausted
-
myInfeasible
private final java.util.concurrent.atomic.LongAdder myInfeasible
-
myInteger
private final java.util.concurrent.atomic.LongAdder myInteger
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
abandoned
boolean abandoned()
Node was created, and deferred, but then abandoned and never evaluated (sub/node problem never solved).
-
countEvaluatedNodes
long countEvaluatedNodes()
-
countIntegerSolutions
int countIntegerSolutions()
-
countSkippedNodes
long countSkippedNodes()
-
countTotalNodes
long countTotalNodes()
-
exhausted
boolean exhausted()
Node evaluated, and solution not integer, but estimate NOT possible to find better integer solution.
-
failed
boolean failed()
Failed to solve node problem because of some unexpected error – not because the node was infeasible.
-
infeasible
boolean infeasible()
Node problem infeasible
-
integer
boolean integer()
Integer solution found
-
-