Skip to content

Commit

Permalink
Moved algorithms to extras.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rodigu committed Mar 2, 2022
1 parent 53dc883 commit e546199
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions extra.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./algorithms.ts";
1 change: 0 additions & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export * from "./network.ts";
export * from "./edge.ts";
export * from "./vertex.ts";
export * from "./algorithms.ts";
export * from "./enums.ts";
3 changes: 2 additions & 1 deletion tester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ deno run --allow-read --allow-write tester.ts
*/

import * as nets from "./mod.ts";
import * as nex from "./extra.ts";

const start_time = new Date().getTime();

Expand Down Expand Up @@ -80,7 +81,7 @@ function getTestTime(): string {
);
}

const net_csv = await nets.loadAdjacencyMatrix("./data/networkMatrix.csv");
const net_csv = await nex.loadAdjacencyMatrix("./data/networkMatrix.csv");

let test_data = valuesTest(net_csv) + "\n" + algorithmTest(net_csv);

Expand Down

0 comments on commit e546199

Please sign in to comment.