SCIP Doxygen Documentation
Loading...
Searching...
No Matches
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 Bandit Algorithms 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)

Macro Definition Documentation

◆ SCIP_DECL_BANDITFREE

#define SCIP_DECL_BANDITFREE ( x)
Value:
BMS_BLKMEM* blkmem, \
SCIP_BANDIT* bandit \
)
SCIP_VAR ** x
struct BMS_BlkMem BMS_BLKMEM
Definition memory.h:437
struct SCIP_Bandit SCIP_BANDIT
Definition type_bandit.h:50
enum SCIP_Retcode SCIP_RETCODE

callback to free bandit specific data structures

Definition at line 63 of file type_bandit.h.

Referenced by doBanditvtableCreate(), SCIPbanditvtableCreate(), and SCIPincludeBanditvtable().

◆ SCIP_DECL_BANDITSELECT

#define SCIP_DECL_BANDITSELECT ( x)
Value:
SCIP_BANDIT* bandit, \
int* selection \
)
int selection

selection callback for bandit selector

Definition at line 69 of file type_bandit.h.

◆ SCIP_DECL_BANDITUPDATE

#define SCIP_DECL_BANDITUPDATE ( x)
Value:
SCIP_BANDIT* bandit, \
int selection, \
SCIP_Real score \
)
#define SCIP_Real
Definition def.h:172

update callback for bandit algorithms

Definition at line 75 of file type_bandit.h.

◆ SCIP_DECL_BANDITRESET

#define SCIP_DECL_BANDITRESET ( x)
Value:
BMS_BUFMEM* bufmem, \
SCIP_BANDIT* bandit, \
SCIP_Real* priorities \
)
struct BMS_BufMem BMS_BUFMEM
Definition memory.h:721

reset callback for bandit algorithms

Definition at line 82 of file type_bandit.h.

Referenced by doBanditvtableCreate(), SCIPbanditvtableCreate(), and SCIPincludeBanditvtable().

Typedef Documentation

◆ SCIP_BANDIT

typedef struct SCIP_Bandit SCIP_BANDIT

data structure for bandit algorithms

Definition at line 50 of file type_bandit.h.

◆ SCIP_BANDITVTABLE

virtual function table for bandit callbacks

Definition at line 53 of file type_bandit.h.

◆ SCIP_BANDITDATA

typedef struct SCIP_BanditData SCIP_BANDITDATA

data structure for specific bandit algorithm implementation

Definition at line 56 of file type_bandit.h.