TotalScore

This commit is contained in:
2025-05-20 16:14:40 +03:00
parent 9eede4802e
commit e53f0ed939
3 changed files with 4 additions and 9 deletions

7
.idea/workspace.xml generated
View File

@@ -6,12 +6,7 @@
</artifacts-to-build>
</component>
<component name="ChangeListManager">
<list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/PredictorStatistic/PredictorStatisticsDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/PredictorStatistic/PredictorStatisticsDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/PredictorStatistic/PredictorStatistics_2021.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/PredictorStatistic/PredictorStatistics.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Variants/ParallelVariant.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Variants/ParallelVariant.java" afterDir="false" />
</list>
<list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment="" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />

View File

@@ -29,7 +29,7 @@ public class PredictorStatistics extends DBObject {
@Expose
public long PS_AcrossCount = statNaN;
@Expose
public long Rank = rankNaN;
public long TotalScore = rankNaN;
///---------------------------------------------
@Description("DEFAULT ''")
public String last_version = "";
@@ -58,7 +58,7 @@ public class PredictorStatistics extends DBObject {
PS_ReductionCount = Integer.parseInt(splited[6]);
PS_AcrossCount = Integer.parseInt(splited[7]);
try {
Rank = Integer.parseInt(splited[8]);
TotalScore = Integer.parseInt(splited[8]);
} catch (Exception ignore) {
}
PredictionTime = new Date().getTime();

View File

@@ -114,7 +114,7 @@ public class ParallelVariantsForm extends DataSetControlForm<ParallelVariant> {
new ColumnInfo<ParallelVariant>("Оценка") {
@Override
public Object getFieldAt(ParallelVariant object) {
return object.stats.Rank;
return object.stats.TotalScore;
}
@Override
public Class getRendererClass() {