The MCFClass Project
|
MCFClone derives from MCFClass and is a template class for testing Min Cost Flow Problem solvers deriving from MCFClass. More...
#include <MCFClone.h>
Inherits Master.
Public Attributes | |
Slave * | SlvMCF |
pointer to the "slave" object; it is public in order to allow calling the methods of the specialized interface of the slave class | |
MCFClone derives from MCFClass and is a template class for testing Min Cost Flow Problem solvers deriving from MCFClass.
It is a template deriving from Master and holding an object of class Slave, both deriving from MCFClass, that does whatever Master does but also does whatever Slave does. The output is that of Master. Note that since it derives from Master, all the methods for readins stuff need not be defined since these of Master are automatically available and do rhe right thing. Yet, one may want to re-define some of them to check that the results agree.