diff --git a/AngularApp/prototype/src/app/cache.service.ts b/AngularApp/prototype/src/app/cache.service.ts index b4269efad338906975cced9e0cc356e752b8b214..5519707db4804e972bf69f6df7f6f2e6285689e5 100644 --- a/AngularApp/prototype/src/app/cache.service.ts +++ b/AngularApp/prototype/src/app/cache.service.ts @@ -18,7 +18,7 @@ export class CacheService { private _queryWindow; public windowSize = 120; - public nrOfTables = 50; + public nrOfTables = 20; public hashSize = 4; public stepSize = 200; public querySelectionMode = true; diff --git a/AngularApp/prototype/src/app/table-overview/table-overview.component.ts b/AngularApp/prototype/src/app/table-overview/table-overview.component.ts index 870e6ac3de5d8cc84ba47ec449d84c845fde09ef..06ae9d0495fb096dd14bf8a5b70396826ce6af8b 100644 --- a/AngularApp/prototype/src/app/table-overview/table-overview.component.ts +++ b/AngularApp/prototype/src/app/table-overview/table-overview.component.ts @@ -105,17 +105,17 @@ export class TableOverviewComponent implements OnInit { return this.distanceMetric(hash1) - this.distanceMetric(hash2); }); if (this.service.queryWindow) { - const queryEntry = this.calculateSignature(table.hash, this.service.queryWindow); - listOfWindows.push(table.entries[queryEntry]); - opacity = orderedHashes.map((hash: string) => { - return hash === queryEntry ? 1.0 : 0.5; - } - ); - rank = table.entries[queryEntry].length; + // const queryEntry = this.calculateSignature(table.hash, this.service.queryWindow); + // listOfWindows.push(table.entries[queryEntry]); + // opacity = orderedHashes.map((hash: string) => { + // return hash === queryEntry ? 1.0 : 0.5; + // } + // ); + // rank = table.entries[queryEntry].length; } this.subplots.push( { - rank: rank, + // rank: rank, data: [{ x: orderedHashes.map((hash: string, i) => { return i; // Number('0b' + hash); @@ -149,7 +149,7 @@ export class TableOverviewComponent implements OnInit { } ); } - this.subplots.sort((plot1, plot2) => plot1.rank - plot2.rank); + // this.subplots.sort((plot1, plot2) => plot1.rank - plot2.rank); if (this.service.queryWindow) { const temp = await this.service.getAverageTableWindows(listOfWindows); this.averages = temp.map(x => this.averagePlot(x)); diff --git a/Flaskserver/.idea/workspace.xml b/Flaskserver/.idea/workspace.xml index 726f3bfa53dfa0c408187f2f87006286d03ab9b3..15f10eee7766a640102aca61cb1d9a97e54a0f34 100644 --- a/Flaskserver/.idea/workspace.xml +++ b/Flaskserver/.idea/workspace.xml @@ -21,12 +21,8 @@ - - - -