Scippy

SCIP

Solving Constraint Integer Programs

type_bandit.h File Reference

Detailed Description

type definitions for bandit selection algorithms

Author
Gregor Hendel

This file defines the interface for bandit selection algorithms implemented in C. see PublicBanditAlgorithms for all publicly available bandit methods.

Definition in file type_bandit.h.

#include "scip/def.h"
#include "scip/type_scip.h"
#include "scip/type_result.h"
#include "scip/type_timing.h"
#include "blockmemshell/memory.h"

Go to the source code of this file.

Macros

#define SCIP_DECL_BANDITFREE(x)
 
#define SCIP_DECL_BANDITSELECT(x)
 
#define SCIP_DECL_BANDITUPDATE(x)
 
#define SCIP_DECL_BANDITRESET(x)
 

Typedefs

typedef struct SCIP_Bandit SCIP_BANDIT
 
typedef struct SCIP_BanditVTable SCIP_BANDITVTABLE
 
typedef struct SCIP_BanditData SCIP_BANDITDATA
 

Macro Definition Documentation

◆ SCIP_DECL_BANDITFREE

#define SCIP_DECL_BANDITFREE (   x)
Value:
BMS_BLKMEM* blkmem, \
SCIP_BANDIT* bandit \
)
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:53
struct BMS_BlkMem BMS_BLKMEM
Definition: memory.h:419

callback to free bandit specific data structures

Definition at line 54 of file type_bandit.h.

◆ SCIP_DECL_BANDITSELECT

#define SCIP_DECL_BANDITSELECT (   x)
Value:
SCIP_BANDIT* bandit, \
int* selection \
)
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:53

selection callback for bandit selector

Definition at line 60 of file type_bandit.h.

◆ SCIP_DECL_BANDITUPDATE

#define SCIP_DECL_BANDITUPDATE (   x)
Value:
SCIP_BANDIT* bandit, \
int selection, \
SCIP_Real score \
)
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:53
#define SCIP_Real
Definition: def.h:149

update callback for bandit algorithms

Definition at line 66 of file type_bandit.h.

◆ SCIP_DECL_BANDITRESET

#define SCIP_DECL_BANDITRESET (   x)
Value:
BMS_BUFMEM* bufmem, \
SCIP_BANDIT* bandit, \
SCIP_Real* priorities \
)
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:53
#define SCIP_Real
Definition: def.h:149

reset callback for bandit algorithms

Definition at line 73 of file type_bandit.h.

Typedef Documentation

◆ SCIP_BANDIT

typedef struct SCIP_Bandit SCIP_BANDIT

data structure for bandit algorithms

Definition at line 41 of file type_bandit.h.

◆ SCIP_BANDITVTABLE

virtual function table for bandit callbacks

Definition at line 44 of file type_bandit.h.

◆ SCIP_BANDITDATA

typedef struct SCIP_BanditData SCIP_BANDITDATA

data structure for specific bandit algorithm implementation

Definition at line 47 of file type_bandit.h.