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 18 of file solver_factory.h.

#include <solver_factory.h>

Inheritance diagram for cyclus::ObjValueHandler:
Inheritance graph

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

◆ ObjValueHandler() [1/3]

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

Definition at line 30 of file

◆ ObjValueHandler() [2/3]

cyclus::ObjValueHandler::ObjValueHandler ( double  obj)

Definition at line 35 of file

◆ ~ObjValueHandler()

cyclus::ObjValueHandler::~ObjValueHandler ( )

Definition at line 40 of file

◆ ObjValueHandler() [3/3]

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

Definition at line 42 of file

Member Function Documentation

◆ clone()

CbcEventHandler * cyclus::ObjValueHandler::clone ( )

Definition at line 58 of file

◆ event()

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

Definition at line 62 of file

◆ found()

bool cyclus::ObjValueHandler::found ( ) const

Definition at line 29 of file solver_factory.h.

◆ obj()

double cyclus::ObjValueHandler::obj ( ) const

Definition at line 28 of file solver_factory.h.

◆ operator=()

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

Definition at line 48 of file

◆ time()

double cyclus::ObjValueHandler::time ( ) const

Definition at line 27 of file solver_factory.h.

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