GNUnet  0.17.6
Data Structures | Typedefs | Enumerations
gnunet-ats-solver-eval.h File Reference
#include "platform.h"
#include "gnunet_util_lib.h"
#include "gnunet_ats_plugin.h"
#include "gnunet_ats_service.h"
#include "gnunet-service-ats_addresses.h"
#include "gnunet-service-ats_normalization.h"
#include "test_ats_api_common.h"
Include dependency graph for gnunet-ats-solver-eval.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SolverHandle
 
struct  LoggingFileHandle
 
struct  LoggingTimeStep
 
struct  LoggingPeer
 
struct  LoggingAddress
 
struct  TestPeer
 
struct  TestAddress
 
struct  GNUNET_ATS_TEST_Operation
 An operation in an experiment. More...
 
struct  Episode
 
struct  LoggingHandle
 
struct  Experiment
 
struct  PreferenceGenerator
 
struct  PropertyGenerator
 

Typedefs

typedef void(* GNUNET_ATS_TESTING_EpisodeDoneCallback) (struct Episode *e)
 
typedef void(* GNUNET_ATS_TESTING_ExperimentDoneCallback) (struct Experiment *e, struct GNUNET_TIME_Relative duration, int success)
 

Enumerations

enum  GeneratorType { GNUNET_ATS_TEST_TG_LINEAR , GNUNET_ATS_TEST_TG_CONSTANT , GNUNET_ATS_TEST_TG_RANDOM , GNUNET_ATS_TEST_TG_SINUS }
 
enum  OperationType {
  SOLVER_OP_ADD_ADDRESS , SOLVER_OP_DEL_ADDRESS , SOLVER_OP_START_SET_PROPERTY , SOLVER_OP_STOP_SET_PROPERTY ,
  SOLVER_OP_START_SET_PREFERENCE , SOLVER_OP_STOP_SET_PREFERENCE , SOLVER_OP_START_REQUEST , SOLVER_OP_STOP_REQUEST ,
  OP_PEER_CREATE , OP_PEER_START , OP_PEER_STOP , OP_PEER_DESTROY ,
  OP_PEER_INFO , OP_PEER_RECONFIGURE , OP_OVERLAY_CONNECT , OP_FORWARDED ,
  OP_LINK_CONTROLLERS , OP_GET_SLAVE_CONFIG , OP_SHUTDOWN_PEERS , OP_MANAGE_SERVICE
}
 
enum  GNUNET_ATS_Solvers { GNUNET_ATS_SOLVER_PROPORTIONAL , GNUNET_ATS_SOLVER_MLP , GNUNET_ATS_SOLVER_RIL }
 

Typedef Documentation

◆ GNUNET_ATS_TESTING_EpisodeDoneCallback

typedef void(* GNUNET_ATS_TESTING_EpisodeDoneCallback) (struct Episode *e)

Definition at line 184 of file gnunet-ats-solver-eval.h.

◆ GNUNET_ATS_TESTING_ExperimentDoneCallback

typedef void(* GNUNET_ATS_TESTING_ExperimentDoneCallback) (struct Experiment *e, struct GNUNET_TIME_Relative duration, int success)

Definition at line 187 of file gnunet-ats-solver-eval.h.

Enumeration Type Documentation

◆ GeneratorType

Enumerator
GNUNET_ATS_TEST_TG_LINEAR 
GNUNET_ATS_TEST_TG_CONSTANT 
GNUNET_ATS_TEST_TG_RANDOM 
GNUNET_ATS_TEST_TG_SINUS 

Definition at line 37 of file gnunet-ats-solver-eval.h.

◆ OperationType

Enumerator
SOLVER_OP_ADD_ADDRESS 
SOLVER_OP_DEL_ADDRESS 
SOLVER_OP_START_SET_PROPERTY 
SOLVER_OP_STOP_SET_PROPERTY 
SOLVER_OP_START_SET_PREFERENCE 
SOLVER_OP_STOP_SET_PREFERENCE 
SOLVER_OP_START_REQUEST 
SOLVER_OP_STOP_REQUEST 
OP_PEER_CREATE 

Peer create operation.

OP_PEER_START 

Peer start operation.

OP_PEER_STOP 

Peer stop operation.

OP_PEER_DESTROY 

Peer destroy operation.

OP_PEER_INFO 

Get peer information operation.

OP_PEER_RECONFIGURE 

Reconfigure a peer.

OP_OVERLAY_CONNECT 

Overlay connection operation.

OP_FORWARDED 

Forwarded operation.

OP_LINK_CONTROLLERS 

Link controllers operation.

OP_GET_SLAVE_CONFIG 

Get slave config operation.

OP_SHUTDOWN_PEERS 

Stop and destroy all peers.

OP_MANAGE_SERVICE 

Start/stop service at a peer.

Definition at line 46 of file gnunet-ats-solver-eval.h.

◆ GNUNET_ATS_Solvers

Enumerator
GNUNET_ATS_SOLVER_PROPORTIONAL 
GNUNET_ATS_SOLVER_MLP 
GNUNET_ATS_SOLVER_RIL 

Definition at line 81 of file gnunet-ats-solver-eval.h.

82 {
86 };
@ GNUNET_ATS_SOLVER_PROPORTIONAL
@ GNUNET_ATS_SOLVER_RIL
@ GNUNET_ATS_SOLVER_MLP