Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::GScipEventHandler Class Reference

Detailed Description

Definition at line 92 of file gscip_event_handler.h.

#include <gscip_event_handler.h>

Public Member Functions

 GScipEventHandler (const GScipEventHandlerDescription &description)
 GScipEventHandler (const GScipEventHandler &)=delete
GScipEventHandleroperator= (const GScipEventHandler &)=delete
virtual ~GScipEventHandler ()=default
absl::Status Register (GScip *gscip)
virtual SCIP_RETCODE Init (GScip *gscip)
virtual SCIP_RETCODE Execute (GScipEventHandlerContext context)
virtual SCIP_RETCODE Exit (GScip *gscip)

Protected Member Functions

SCIP_RETCODE CatchEvent (SCIP_EVENTTYPE event_type)

Friends

SCIP_RETCODE DropAllEvents (GScipEventHandler &handler)

Constructor & Destructor Documentation

◆ GScipEventHandler() [1/2]

operations_research::GScipEventHandler::GScipEventHandler ( const GScipEventHandlerDescription & description)
inlineexplicit

Definition at line 94 of file gscip_event_handler.h.

◆ GScipEventHandler() [2/2]

operations_research::GScipEventHandler::GScipEventHandler ( const GScipEventHandler & )
delete

◆ ~GScipEventHandler()

virtual operations_research::GScipEventHandler::~GScipEventHandler ( )
virtualdefault

Member Function Documentation

◆ CatchEvent()

SCIP_RETCODE operations_research::GScipEventHandler::CatchEvent ( SCIP_EVENTTYPE event_type)
protected

Definition at line 121 of file gscip_event_handler.cc.

◆ Execute()

virtual SCIP_RETCODE operations_research::GScipEventHandler::Execute ( GScipEventHandlerContext context)
inlinevirtual

Definition at line 125 of file gscip_event_handler.h.

◆ Exit()

virtual SCIP_RETCODE operations_research::GScipEventHandler::Exit ( GScip * gscip)
inlinevirtual

Definition at line 138 of file gscip_event_handler.h.

◆ Init()

virtual SCIP_RETCODE operations_research::GScipEventHandler::Init ( GScip * gscip)
inlinevirtual

Definition at line 119 of file gscip_event_handler.h.

◆ operator=()

GScipEventHandler & operations_research::GScipEventHandler::operator= ( const GScipEventHandler & )
delete

◆ Register()

absl::Status operations_research::GScipEventHandler::Register ( GScip * gscip)

Definition at line 92 of file gscip_event_handler.cc.

◆ DropAllEvents

SCIP_RETCODE DropAllEvents ( GScipEventHandler & handler)
friend

Definition at line 133 of file gscip_event_handler.cc.


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