1#ifndef FPMAS_LOCATION_MANAGER_API_H
2#define FPMAS_LOCATION_MANAGER_API_H
11namespace fpmas {
namespace api {
namespace graph {
Definition: distributed_edge.h:91
Definition: distributed_id.h:89
Definition: distributed_node.h:28
Definition: location_manager.h:34
virtual void updateLocations()=0
virtual const NodeMap & getLocalNodes() const =0
virtual void setLocal(DistributedNode< T > *node)=0
virtual void addManagedNode(DistributedNode< T > *node, int initial_location)=0
virtual std::unordered_map< DistributedId, int > getCurrentLocations() const =0
virtual const NodeMap & getDistantNodes() const =0
virtual void setDistant(DistributedNode< T > *node)=0
virtual void removeManagedNode(DistributedNode< T > *node)=0
fpmas::api::graph::Graph< DistributedNode< T >, DistributedEdge< T > >::NodeMap NodeMap
Definition: location_manager.h:39
virtual void remove(DistributedNode< T > *node)=0