Commit 97c0ade9 authored by Christopher Alfeld's avatar Christopher Alfeld

Changed optimal_score to 0. This increases the run time slightly (still

around a second in most cases) but insures that we use a minimal number
of delay nodes.
parent 4c2fbfc5
......@@ -19,11 +19,14 @@
#include "score.h"
// Purely heuristic
/*
#define OPTIMAL_SCORE(edges,nodes) (nodes*SCORE_PNODE + \
nodes/5.0*SCORE_SWITCH + \
edges*((SCORE_INTRASWITCH_LINK+ \
SCORE_DIRECT_LINK*2)*4+\
SCORE_INTERSWITCH_LINK)/5.0)
*/
#define OPTIMAL_SCORE(edges,nodes) 0
tb_pgraph PG(1,1);
tb_vgraph G(1,1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment