Uses of Class
org.ddolib.common.solver.stat.DdoStats
Packages that use DdoStats
Package
Description
Provides classes for tracking and representing the statistics and status of a search process in a
solver.
Provides interfaces and classes for defining termination criteria (stop criteria) for search
processes.
-
Uses of DdoStats in org.ddolib.common.solver.stat
Methods in org.ddolib.common.solver.stat that return DdoStatsModifier and TypeMethodDescriptionDdoStats.addNbDominancePruning(int nbPruning) Creates and returns a copy of this statistics instance with additional nodes pruned by the dominance, for instance those pruned during the compilation of a decision diagram.DdoStats.addNbFastLowerBoundPruning(int nbPruning) Creates and returns a copy of this statistics instance with additional nodes pruned by the fast lower bound, for instance those pruned during the compilation of a decision diagram.DdoStats.addNodeCounts(long nbExpanded, long nbGenerated) Returns a new SearchStatistics instance with the given numbers of expanded and generated nodes added to the current ones.DdoStats.addNodes(int nodes) Updates the total number of nodes created.DdoStats.copy()Creates and returns a copy of this statistics instance.protected DdoStatsDdoStats.createSpecificInstance()Creates a new instance of the specific subclass with initial values.DdoStats.incrementNbDominancePruning()Creates and returns a copy of this statistics instance with one more node pruned by the dominance.DdoStats.incrementNbFastLowerBoundPruning()Creates and returns a copy of this statistics instance with one more node pruned by the fast lower bound.DdoStats.incrementNbIter()Returns a new SearchStatistics instance with the iteration count incremented by one.DdoStats.updateBestBound(double bound) Returns a new SearchStatistics instance with an updated best bound.DdoStats.updateFrontierMaxSize(int frontierSize) Returns a new SearchStatistics instance with an updated maximum frontier size.DdoStats.updateGap(double gap) Returns a new SearchStatistics instance with an updated optimality gap.DdoStats.updateIncumbent(double incumbent, double gap) Returns a new SearchStatistics instance with an updated incumbent value and gap.DdoStats.updateLowerBound(double lb) Updates the best lower bound and tracks its improvement iteration.DdoStats.updateMaxDepth(int depth) Updates the maximum depth reached.DdoStats.updateNodeCounts(long nbExpanded, long nbGenerated) Returns a new SearchStatistics instance with the given numbers of expanded and generated nodes (totals since the beginning of the search).DdoStats.updateStatus(SearchStatus status) Returns a new SearchStatistics instance with an updated search status.DdoStats.updateTime(long time) Returns a new SearchStatistics instance with an updated current time. -
Uses of DdoStats in org.ddolib.common.solver.stopcriterion
Methods in org.ddolib.common.solver.stopcriterion with parameters of type DdoStatsModifier and TypeMethodDescriptionbooleanDdoStopCriterion.testDdoStats(DdoStats stats) Evaluates this criterion against the given DDO search statistics.