[gecode-users] branch function as static member?

Martin Mann mmann at informatik.uni-freiburg.de
Thu Jun 8 16:08:32 CEST 2006


Hi,

currently the Gecode::branch() function is a global wrapper function for 
the ViewValBranching class.
Therefor is my question if it wouldnt be better to place it into the 
corresponding class description as a static member?

Doing it that way it would be clear which Branching subclass is used.

If you agree maybe its nice to introduce the static branch function 
virtual in the base Branching class.

But it's just a suggestion...

;)

Cheers,
Martin




More information about the gecode-users mailing list