FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
Models::FMTserializablematrix Class Reference

#include <FMTserializablematrix.hpp>

Public Member Functions

 FMTserializablematrix ()
 
 FMTserializablematrix (const FMTserializablematrix &rhs)
 
FMTserializablematrixoperator= (const FMTserializablematrix &rhs)
 
 FMTserializablematrix (const std::shared_ptr< OsiSolverInterface > &solverinterface)
 
void setmatrix (std::shared_ptr< OsiSolverInterface > &solverinterface) const
 
 ~FMTserializablematrix ()
 

Friends

class boost::serialization::access
 

Detailed Description

The FMTserializablematrix is made for the serialization of osisolverinterface matrix. Osisolverinterface matrix is a abstract class pointing on multiple solvertype. The goal of that class is to get the informations from osisolverinterface class into multiple vectors (solutions,bounds,etc...) to permit the synchronization. Also this class is usefull when copying osisolverinterface with the FMTsolverinterface type.

Constructor & Destructor Documentation

◆ FMTserializablematrix() [1/3]

Models::FMTserializablematrix::FMTserializablematrix ( )

Default constructor of FMTserializablematrix

◆ FMTserializablematrix() [2/3]

Models::FMTserializablematrix::FMTserializablematrix ( const FMTserializablematrix rhs)

Copy constructor of FMTserializablematrix

◆ FMTserializablematrix() [3/3]

Models::FMTserializablematrix::FMTserializablematrix ( const std::shared_ptr< OsiSolverInterface > &  solverinterface)

Constructor of FMTserializablematrix with the solverinterface and the solvertype used. Normaly used during the saving part of serialization.

◆ ~FMTserializablematrix()

Models::FMTserializablematrix::~FMTserializablematrix ( )

Function used to build a shared pointer of a solverinterface passing the message handler to the pointer. Function used to copy a shared pointer of a solverinterface passing the message handler to the pointer to a other shared pointer. Default destructor of FMTserializablematrix

Member Function Documentation

◆ operator=()

FMTserializablematrix & Models::FMTserializablematrix::operator= ( const FMTserializablematrix rhs)

Copy assignment of FMTserializablematrix

◆ setmatrix()

void Models::FMTserializablematrix::setmatrix ( std::shared_ptr< OsiSolverInterface > &  solverinterface) const

Setter of the solvertype of the serializable matrix. This function will set it's contain to a solverinterface matrix, used during the loading part of serialization.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Save and load functions are for serialization, used to do multiprocessing across multiple cpus (pickle in Pyhton)


The documentation for this class was generated from the following file: