|
@@ -1,6 +1,5 @@
|
|
|
import { Metric } from "./Metric";
|
|
import { Metric } from "./Metric";
|
|
|
import { Cluster } from "@/model/Cluster";
|
|
import { Cluster } from "@/model/Cluster";
|
|
|
-import { SubmissionName } from "./SubmissionName";
|
|
|
|
|
|
|
|
|
|
export class Overview {
|
|
export class Overview {
|
|
|
private readonly _submissionFolderPath: Array<string>;
|
|
private readonly _submissionFolderPath: Array<string>;
|
|
@@ -8,7 +7,7 @@ export class Overview {
|
|
|
private readonly _language: string;
|
|
private readonly _language: string;
|
|
|
private readonly _fileExtensions: Array<string>;
|
|
private readonly _fileExtensions: Array<string>;
|
|
|
private readonly _matchSensitivity: number;
|
|
private readonly _matchSensitivity: number;
|
|
|
- private readonly _submissionIds: Array<SubmissionName>;
|
|
|
|
|
|
|
+ private readonly _submissionIdsToComparisonFileName: Map<string,Map<string,string>>;
|
|
|
private readonly _dateOfExecution: string;
|
|
private readonly _dateOfExecution: string;
|
|
|
private readonly _durationOfExecution: number;
|
|
private readonly _durationOfExecution: number;
|
|
|
private readonly _metrics: Array<Metric>;
|
|
private readonly _metrics: Array<Metric>;
|
|
@@ -20,22 +19,25 @@ export class Overview {
|
|
|
language: string,
|
|
language: string,
|
|
|
fileExtensions: Array<string>,
|
|
fileExtensions: Array<string>,
|
|
|
matchSensitivity: number,
|
|
matchSensitivity: number,
|
|
|
- submissionIds: Array<SubmissionName>,
|
|
|
|
|
dateOfExecution: string,
|
|
dateOfExecution: string,
|
|
|
durationOfExecution: number,
|
|
durationOfExecution: number,
|
|
|
metrics: Array<Metric>,
|
|
metrics: Array<Metric>,
|
|
|
- clusters: Array<Cluster>
|
|
|
|
|
|
|
+ clusters: Array<Cluster>,
|
|
|
|
|
+ submissionIdsToComparisonFileName: Map<string,Map<string,string>>
|
|
|
) {
|
|
) {
|
|
|
this._submissionFolderPath = submissionFolderPath;
|
|
this._submissionFolderPath = submissionFolderPath;
|
|
|
this._baseCodeFolderPath = baseCodeFolderPath;
|
|
this._baseCodeFolderPath = baseCodeFolderPath;
|
|
|
this._language = language;
|
|
this._language = language;
|
|
|
this._fileExtensions = fileExtensions;
|
|
this._fileExtensions = fileExtensions;
|
|
|
this._matchSensitivity = matchSensitivity;
|
|
this._matchSensitivity = matchSensitivity;
|
|
|
- this._submissionIds = submissionIds;
|
|
|
|
|
this._dateOfExecution = dateOfExecution;
|
|
this._dateOfExecution = dateOfExecution;
|
|
|
this._durationOfExecution = durationOfExecution;
|
|
this._durationOfExecution = durationOfExecution;
|
|
|
this._metrics = metrics;
|
|
this._metrics = metrics;
|
|
|
this._clusters = clusters;
|
|
this._clusters = clusters;
|
|
|
|
|
+ this. _submissionIdsToComparisonFileName = submissionIdsToComparisonFileName;
|
|
|
|
|
+ }
|
|
|
|
|
+ get submissionIdsToComparisonFileName(): Map<string,Map<string,string>> {
|
|
|
|
|
+ return this.submissionIdsToComparisonFileName;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
get submissionFolderPath(): Array<string> {
|
|
get submissionFolderPath(): Array<string> {
|
|
@@ -58,9 +60,6 @@ export class Overview {
|
|
|
return this._matchSensitivity;
|
|
return this._matchSensitivity;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- get submissionIds(): Array<SubmissionName> {
|
|
|
|
|
- return this._submissionIds;
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
get dateOfExecution(): string {
|
|
get dateOfExecution(): string {
|
|
|
return this._dateOfExecution;
|
|
return this._dateOfExecution;
|