TheoryInPractice / CONCUSS

Combatting Network Complexity Using Structural Sparsity
Other
8 stars 5 forks source link

Added coloring profiling code; Sped up coloring step #12

Closed brandon-mork closed 9 years ago

brandon-mork commented 9 years ago

Added profile option to generate_coloring.py CCAlgorithm and associated profiling code to profile each step.

Fixed unnecessary calls to g.get_max_id(), which in turn was calling max(). This cut ~30-40% of the run time for each coloring step.

Changes: