fpmas 1.6
Classes | Namespaces | Typedefs | Functions
model.h File Reference
#include "fpmas/api/graph/graph_builder.h"
#include "guards.h"
#include "detail/model.h"
#include "fpmas/random/random.h"
#include "fpmas/io/breakpoint.h"
#include "fpmas/utils/format.h"
#include "fpmas/graph/graph_builder.h"
#include "fpmas/graph/random_load_balancing.h"
#include "fpmas/graph/static_load_balancing.h"
#include "fpmas/synchro/synchro.h"
#include <fstream>
Include dependency graph for model.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fpmas::model::Neighbor< AgentType >
 
class  fpmas::model::CompareNeighbors< AgentType, Compare >
 
struct  fpmas::model::RandomNeighbors
 
class  fpmas::model::Neighbors< AgentType >
 
class  fpmas::model::Behavior< AgentType >
 
class  fpmas::model::BehaviorWithArgs< AgentType, Args >
 
class  fpmas::model::IdleBehavior
 
class  fpmas::model::detail::AgentBase< AgentInterface, AgentType, TypeIdBase >
 
class  fpmas::model::AgentNodeBuilder
 
class  fpmas::model::DistributedAgentNodeBuilder
 
class  fpmas::model::AutoBreakpoint
 
struct  fpmas::io::json::light_serializer< fpmas::api::model::AgentPtr >
 
struct  fpmas::io::json::light_serializer< fpmas::api::model::WeakAgentPtr >
 
struct  fpmas::io::datapack::Serializer< AgentPtr >
 
struct  fpmas::io::datapack::Serializer< WeakAgentPtr >
 
struct  fpmas::io::datapack::LightSerializer< AgentPtr >
 
struct  fpmas::io::datapack::LightSerializer< WeakAgentPtr >
 
struct  fpmas::synchro::DataUpdate< api::model::AgentPtr >
 
struct  nlohmann::adl_serializer< fpmas::api::model::AgentPtr >
 
struct  nlohmann::adl_serializer< fpmas::api::model::WeakAgentPtr >
 
struct  nlohmann::adl_serializer< fpmas::api::model::Model >
 

Namespaces

namespace  fpmas
 
namespace  fpmas::model
 
namespace  fpmas::model::detail
 
namespace  fpmas::io
 
namespace  fpmas::io::json
 
namespace  fpmas::io::datapack
 
namespace  fpmas::synchro
 
namespace  nlohmann
 

Typedefs

template<typename AgentType , typename TypeIdBase = AgentType>
using fpmas::model::AgentBase = detail::AgentBase< api::model::Agent, AgentType, TypeIdBase >
 
typedef api::utils::Callback< AgentNode * > fpmas::model::AgentNodeCallback
 
template<template< typename > class SyncMode>
using fpmas::model::Model = detail::DefaultModel< SyncMode >
 
using fpmas::model::DistributedUniformGraphBuilder = graph::DistributedUniformGraphBuilder< AgentPtr >
 
using fpmas::model::DistributedClusteredGraphBuilder = graph::DistributedClusteredGraphBuilder< AgentPtr >
 
using fpmas::model::RingGraphBuilder = graph::RingGraphBuilder< AgentPtr >
 
using fpmas::model::SmallWorldGraphBuilder = graph::SmallWorldGraphBuilder< AgentPtr >
 
using fpmas::model::ZoltanLoadBalancing = graph::ZoltanLoadBalancing< AgentPtr >
 
using fpmas::model::ScheduledLoadBalancing = graph::ScheduledLoadBalancing< AgentPtr >
 
using fpmas::model::RandomLoadBalancing = graph::RandomLoadBalancing< AgentPtr >
 
using fpmas::model::StaticLoadBalancing = graph::StaticLoadBalancing< AgentPtr >
 
typedef io::Breakpoint< api::model::Model > fpmas::model::Breakpoint
 

Functions

bool fpmas::model::is_agent_in_group (api::model::Agent *agent, api::model::GroupId group_id)
 
bool fpmas::model::is_agent_in_group (api::model::Agent *agent, api::model::AgentGroup &group)
 
template<typename AgentType >
bool fpmas::model::operator< (const Neighbor< AgentType > &n1, const Neighbor< AgentType > &n2)
 

Detailed Description

Model implementation.