mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
88 lines
3 KiB
Java
88 lines
3 KiB
Java
|
package androidx.constraintlayout.solver;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public class Metrics {
|
||
|
public long additionalMeasures;
|
||
|
public long barrierConnectionResolved;
|
||
|
public long bfs;
|
||
|
public long centerConnectionResolved;
|
||
|
public long chainConnectionResolved;
|
||
|
public long constraints;
|
||
|
public long determineGroups;
|
||
|
public long errors;
|
||
|
public long extravariables;
|
||
|
public long fullySolved;
|
||
|
public long graphOptimizer;
|
||
|
public long graphSolved;
|
||
|
public long infeasibleDetermineGroups;
|
||
|
public long iterations;
|
||
|
public long lastTableSize;
|
||
|
public long linearSolved;
|
||
|
public long matchConnectionResolved;
|
||
|
public long maxRows;
|
||
|
public long maxTableSize;
|
||
|
public long maxVariables;
|
||
|
public long measuredMatchWidgets;
|
||
|
public long measuredWidgets;
|
||
|
public long measures;
|
||
|
public long measuresLayoutDuration;
|
||
|
public long measuresWidgetsDuration;
|
||
|
public long measuresWrap;
|
||
|
public long measuresWrapInfeasible;
|
||
|
public long minimize;
|
||
|
public long minimizeGoal;
|
||
|
public long nonresolvedWidgets;
|
||
|
public long oldresolvedWidgets;
|
||
|
public long optimize;
|
||
|
public long pivots;
|
||
|
public ArrayList<String> problematicLayouts = new ArrayList<>();
|
||
|
public long resolutions;
|
||
|
public long resolvedWidgets;
|
||
|
public long simpleconstraints;
|
||
|
public long slackvariables;
|
||
|
public long tableSizeIncrease;
|
||
|
public long variables;
|
||
|
public long widgets;
|
||
|
|
||
|
public String toString() {
|
||
|
return "\n*** Metrics ***\nmeasures: " + this.measures + "\nmeasuresWrap: " + this.measuresWrap + "\nmeasuresWrapInfeasible: " + this.measuresWrapInfeasible + "\ndetermineGroups: " + this.determineGroups + "\ninfeasibleDetermineGroups: " + this.infeasibleDetermineGroups + "\ngraphOptimizer: " + this.graphOptimizer + "\nwidgets: " + this.widgets + "\ngraphSolved: " + this.graphSolved + "\nlinearSolved: " + this.linearSolved + "\n";
|
||
|
}
|
||
|
|
||
|
public void reset() {
|
||
|
this.measures = 0L;
|
||
|
this.widgets = 0L;
|
||
|
this.additionalMeasures = 0L;
|
||
|
this.resolutions = 0L;
|
||
|
this.tableSizeIncrease = 0L;
|
||
|
this.maxTableSize = 0L;
|
||
|
this.lastTableSize = 0L;
|
||
|
this.maxVariables = 0L;
|
||
|
this.maxRows = 0L;
|
||
|
this.minimize = 0L;
|
||
|
this.minimizeGoal = 0L;
|
||
|
this.constraints = 0L;
|
||
|
this.simpleconstraints = 0L;
|
||
|
this.optimize = 0L;
|
||
|
this.iterations = 0L;
|
||
|
this.pivots = 0L;
|
||
|
this.bfs = 0L;
|
||
|
this.variables = 0L;
|
||
|
this.errors = 0L;
|
||
|
this.slackvariables = 0L;
|
||
|
this.extravariables = 0L;
|
||
|
this.fullySolved = 0L;
|
||
|
this.graphOptimizer = 0L;
|
||
|
this.graphSolved = 0L;
|
||
|
this.resolvedWidgets = 0L;
|
||
|
this.oldresolvedWidgets = 0L;
|
||
|
this.nonresolvedWidgets = 0L;
|
||
|
this.centerConnectionResolved = 0L;
|
||
|
this.matchConnectionResolved = 0L;
|
||
|
this.chainConnectionResolved = 0L;
|
||
|
this.barrierConnectionResolved = 0L;
|
||
|
this.problematicLayouts.clear();
|
||
|
}
|
||
|
}
|