fpmas 1.6
Public Member Functions | Public Attributes | List of all members
fpmas::graph::detail::LocalizedNodeView< T > Struct Template Reference

#include <clustered_graph_builder.h>

Collaboration diagram for fpmas::graph::detail::LocalizedNodeView< T >:
Collaboration graph
[legend]

Public Member Functions

 LocalizedNodeView (Point p, fpmas::api::graph::DistributedId node_id, int location)
 

Public Attributes

Point p
 
fpmas::api::graph::DistributedId node_id
 
int location
 

Detailed Description

template<typename T>
struct fpmas::graph::detail::LocalizedNodeView< T >

A structure used to represent a LocalizedNode, representing the node only by its id.

This allows to represent a LocalizedNode for nodes that not located on the current process.

Constructor & Destructor Documentation

◆ LocalizedNodeView()

template<typename T >
fpmas::graph::detail::LocalizedNodeView< T >::LocalizedNodeView ( Point  p,
fpmas::api::graph::DistributedId  node_id,
int  location 
)
inline

LocalizedNodeView constructor.

Parameters
pnode coordinates
node_idid of the represented node
locationrank of the process that currently own the represented node

Member Data Documentation

◆ p

template<typename T >
Point fpmas::graph::detail::LocalizedNodeView< T >::p

Node coordinates.

◆ node_id

Id of the represented node.

◆ location

template<typename T >
int fpmas::graph::detail::LocalizedNodeView< T >::location

Rank of the process that currently own the represented node.


The documentation for this struct was generated from the following file: