37#ifndef __PARA_SOLUTION_H__
38#define __PARA_SOLUTION_H__
123 gzstream::ogzstream &out
131 gzstream::igzstream &in
143 return std::string(
"");
Base class of communicator object.
virtual ~ParaSolution()
destructor
virtual bool read(ParaComm *comm, gzstream::igzstream &in)=0
function to read ParaSolution object from checkpoint file
ParaSolution()
DO NOT HAVE DATA MEMBER!!
virtual void write(gzstream::ogzstream &out)=0
function to write ParaSolution object to checkpoint file
virtual double getObjectiveFunctionValue()=0
get objective function value
virtual ParaSolution * clone(ParaComm *comm)=0
create clone of this object
virtual void send(ParaComm *comm, int destination)=0
send solution data
virtual void receive(ParaComm *comm, int source)=0
receive solution data
virtual const std::string toString()
stringfy ParaSolution object
virtual void bcast(ParaComm *comm, int root)=0
broadcast solution data
static ScipParaCommTh * comm
Utilities for handling gzipped input and output streams.
ParaSolution * ParaSolutionPtr
Base class of communicator for UG Framework.