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

cyclus::ObjValueHandler::ObjValueHandler ( double  obj)

Definition at line 35 of file

cyclus::ObjValueHandler::~ObjValueHandler ( )

Definition at line 40 of file

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

Definition at line 42 of file

Member Function Documentation

CbcEventHandler * cyclus::ObjValueHandler::clone ( )

Definition at line 58 of file

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

Definition at line 62 of file

bool cyclus::ObjValueHandler::found ( ) const

Definition at line 27 of file solver_factory.h.

double cyclus::ObjValueHandler::obj ( ) const

Definition at line 26 of file solver_factory.h.

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

Definition at line 48 of file

double cyclus::ObjValueHandler::time ( ) const

Definition at line 25 of file solver_factory.h.

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