Class STNU.STNUPhaseStatistics
java.lang.Object
it.univr.di.cstnu.algorithms.STNU.STNUPhaseStatistics
- Enclosing class:
STNU
Collects per-phase execution statistics (time and edge counts by category) for
STNU.applyMDE()
and STNU.applyFD_STNUPlusMinimization(). TEMPORARY: this whole class and every
reference to it are marked with the PHASE-STATS comment so that they can be grep-removed once the
study is complete.- Version:
- $Rev: 1190 $
- Author:
- Roberto Posenato
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordOne row of statistics for a single phase. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty statistics collection.Creates an independent copy of the collected phase rows. -
Method Summary
Modifier and TypeMethodDescription(package private) voidReturns the collected phase rows through an immutable fastutil view.
-
Constructor Details
-
STNUPhaseStatistics
STNUPhaseStatistics(@Nonnull STNU.STNUPhaseStatistics other) Creates an independent copy of the collected phase rows.- Parameters:
other- statistics to copy.
-
STNUPhaseStatistics
STNUPhaseStatistics()Creates an empty statistics collection.
-
-
Method Details
-
getPhases
Returns the collected phase rows through an immutable fastutil view.- Returns:
- an unmodifiable view of the phase rows; subsequent rows recorded by this statistics object are visible through the view.
-
add
-