CYCLUS
Public Member Functions | List of all members
cyclus::ObjValueHandler Class Reference

Detailed Description

An event handler that records the time that a better solution is found.

Definition at line 16 of file solver_factory.h.

#include <solver_factory.h>

Inheritance diagram for cyclus::ObjValueHandler:

Public Member Functions

virtual CbcEventHandler * clone ()
 
virtual CbcEventHandler::CbcAction event (CbcEvent e)
 
bool found () const
 
double obj () const
 
 ObjValueHandler (double obj, double time, bool found)
 
 ObjValueHandler (double obj)
 
 ObjValueHandler (const ObjValueHandler &other)
 
ObjValueHandleroperator= (const ObjValueHandler &other)
 
double time () const
 
virtual ~ObjValueHandler ()
 

Constructor & Destructor Documentation

cyclus::ObjValueHandler::ObjValueHandler ( double  obj,
double  time,
bool  found 
)

Definition at line 30 of file solver_factory.cc.

cyclus::ObjValueHandler::ObjValueHandler ( double  obj)
explicit

Definition at line 35 of file solver_factory.cc.

cyclus::ObjValueHandler::~ObjValueHandler ( )
virtual

Definition at line 40 of file solver_factory.cc.

cyclus::ObjValueHandler::ObjValueHandler ( const ObjValueHandler other)

Definition at line 42 of file solver_factory.cc.

Member Function Documentation

CbcEventHandler * cyclus::ObjValueHandler::clone ( )
virtual

Definition at line 58 of file solver_factory.cc.

CbcEventHandler::CbcAction cyclus::ObjValueHandler::event ( CbcEvent  e)
virtual

Definition at line 62 of file solver_factory.cc.

bool cyclus::ObjValueHandler::found ( ) const
inline

Definition at line 27 of file solver_factory.h.

double cyclus::ObjValueHandler::obj ( ) const
inline

Definition at line 26 of file solver_factory.h.

ObjValueHandler & cyclus::ObjValueHandler::operator= ( const ObjValueHandler other)

Definition at line 48 of file solver_factory.cc.

double cyclus::ObjValueHandler::time ( ) const
inline

Definition at line 25 of file solver_factory.h.


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