AIToolbox
A library that offers tools for AI problem solving.
SysAdmin.hpp File Reference

Go to the source code of this file.

Namespaces

 AIToolbox
 
 AIToolbox::Factored
 
 AIToolbox::Factored::MDP
 
 AIToolbox::Factored::MDP::SysAdminUtils
 

Enumerations

enum  AIToolbox::Factored::MDP::SysAdminUtils::MachineStatus { AIToolbox::Factored::MDP::SysAdminUtils::Good = 0, AIToolbox::Factored::MDP::SysAdminUtils::Fail, AIToolbox::Factored::MDP::SysAdminUtils::Dead }
 
enum  AIToolbox::Factored::MDP::SysAdminUtils::MachineLoad { AIToolbox::Factored::MDP::SysAdminUtils::Idle = 0, AIToolbox::Factored::MDP::SysAdminUtils::Load, AIToolbox::Factored::MDP::SysAdminUtils::Done }
 

Functions

CooperativeModel AIToolbox::Factored::MDP::makeSysAdminUniRing (unsigned agents, double pFailBase, double pFailBonus, double pDeadBase, double pDeadBonus, double pLoad, double pDoneG, double pDoneF)
 This function creates a ring where each machine affects only the next adjacent one. More...
 
CooperativeModel AIToolbox::Factored::MDP::makeSysAdminBiRing (unsigned agents, double pFailBase, double pFailBonus, double pDeadBase, double pDeadBonus, double pLoad, double pDoneG, double pDoneF)
 This function creates a ring where each machine affects the two adjacent ones. More...
 
std::string AIToolbox::Factored::MDP::printSysAdminRing (const State &s)
 This function creates a graphical representation of a SysAdmin ring problem. More...
 
CooperativeModel AIToolbox::Factored::MDP::makeSysAdminGrid (unsigned width, unsigned height, double pFailBase, double pFailBonus, double pDeadBase, double pDeadBonus, double pLoad, double pDoneG, double pDoneF)
 This function creates a grid where each machine is connected with its 4 neighbors. More...
 
CooperativeModel AIToolbox::Factored::MDP::makeSysAdminTorus (unsigned width, unsigned height, double pFailBase, double pFailBonus, double pDeadBase, double pDeadBonus, double pLoad, double pDoneG, double pDoneF)
 This function creates a toroidal grid where each machine is connected with its 4 neighbors. More...
 
std::string AIToolbox::Factored::MDP::printSysAdminGrid (const State &s, unsigned width)
 This function creates a graphical representation of a SysAdmin grid problem. More...