lemon/config.h.cmake
author Peter Kovacs <kpeter@inf.elte.hu>
Wed, 29 Apr 2009 16:54:27 +0200
changeset 642 111698359429
parent 620 c3ce597c11ae
child 627 20dac2104519
permissions -rw-r--r--
Less map copying in NetworkSimplex (#234)

- The graph is copied in the constructor instead of the init() function.
It must not be modified after the class is constructed.
- The maps are copied once (instead of twice).
- Remove FlowMap, PotentialMap typedefs and flowMap(), pontentialMap()
setter functions.
- flowMap() and potentialMap() query functions copy the values into the
given map (reference) instead of returning a const reference to a
previously constructed map.
     1 #cmakedefine HAVE_LONG_LONG 1
     2 #cmakedefine HAVE_LP 1
     3 #cmakedefine HAVE_MIP 1
     4 #cmakedefine HAVE_GLPK 1
     5 #cmakedefine HAVE_CPLEX 1
     6 #cmakedefine HAVE_CLP 1
     7 #cmakedefine HAVE_CBC 1