CYCLUS
Loading...
Searching...
No Matches
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:

Public Member Functions

virtual CbcEventHandler * clone ()
 
virtual CbcEventHandler::CbcAction event (CbcEvent e)
 
bool found () const
 
double obj () const
 
 ObjValueHandler (const ObjValueHandler &other)
 
 ObjValueHandler (double obj)
 
 ObjValueHandler (double obj, double time, bool found)
 
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 solver_factory.cc.

◆ ObjValueHandler() [2/3]

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

Definition at line 35 of file solver_factory.cc.

◆ ~ObjValueHandler()

cyclus::ObjValueHandler::~ObjValueHandler ( )
virtual

Definition at line 40 of file solver_factory.cc.

◆ ObjValueHandler() [3/3]

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

Definition at line 42 of file solver_factory.cc.

Member Function Documentation

◆ clone()

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

Definition at line 58 of file solver_factory.cc.

◆ event()

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

Definition at line 62 of file solver_factory.cc.

◆ found()

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

Definition at line 29 of file solver_factory.h.

◆ obj()

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

Definition at line 28 of file solver_factory.h.

◆ operator=()

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

Definition at line 48 of file solver_factory.cc.

◆ time()

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

Definition at line 27 of file solver_factory.h.


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