• Robert Ricci's avatar
    A few improvements: · b058ef64
    Robert Ricci authored
    Fix a bug with limited trivial link bandwidth. It used to be the case
    that we penalized solutions that over-used the trivial bandwidth based
    on the number of links that were over it. Turns out this was a
    problem, if you had links of differing bandwidths, and were near the
    limit. Certain orderings were possible where you would remove two
    trivial links in a different order than you added them, which might
    result in more (or fewer) violations being scored then when you did
    them originally. The fix for this is to penalize these based on
    bandwidth, which is what assign now does.
    
    Added a '-g' flag, which does greedy link selection - assign normally
    does random link selection until the very end, when it does one pass
    with greedy selection. This flag makes it do this all the time. This
    is useful for debugging, because it cuts out a call to random(). Turns
    out, it doesn't seem to make assign much slower. I might consider
    making it the default.
    
    Better output when the selftest (-T) fails.
    b058ef64
Name
Last commit
Last update
..
GNUmakefile.in Loading commit data...
README Loading commit data...
about.txt Loading commit data...
anneal.cc Loading commit data...
anneal.h Loading commit data...
assign.cc Loading commit data...
assign_internals.txt Loading commit data...
assign_todo.txt Loading commit data...
common.h Loading commit data...
compile-options.txt Loading commit data...
config.c Loading commit data...
config.cc Loading commit data...
config.h Loading commit data...
delay.h Loading commit data...
dtest.ptop Loading commit data...
dtest.top Loading commit data...
maps.h Loading commit data...
parse_ptop.cc Loading commit data...
parse_top.cc Loading commit data...
parser.cc Loading commit data...
parser.h Loading commit data...
pclass.cc Loading commit data...
pclass.h Loading commit data...
pclass_vclass_fixed.txt Loading commit data...
physical.h Loading commit data...
port.h Loading commit data...
score.cc Loading commit data...
score.h Loading commit data...
solution.cc Loading commit data...
solution.h Loading commit data...
test.ptop Loading commit data...
test.top Loading commit data...
test2.ptop Loading commit data...
test2a.top Loading commit data...
test_ugly.ptop Loading commit data...
test_ugly.top Loading commit data...
vclass.cc Loading commit data...
vclass.h Loading commit data...
virtual.h Loading commit data...