Public Member Functions | List of all members
SceneModel::AbstractTopologyCreator Class Referenceabstract

#include <AbstractTopologyCreator.h>

Inheritance diagram for SceneModel::AbstractTopologyCreator:
Inheritance graph
[legend]

Public Member Functions

virtual std::vector< boost::shared_ptr< Topology > > generateAllConnectedTopologies ()=0
 
virtual boost::shared_ptr< TopologygenerateFullyMeshedTopology ()=0
 
virtual std::vector< boost::shared_ptr< Topology > > generateNeighbours (boost::shared_ptr< Topology > pFrom)=0
 
virtual boost::shared_ptr< TopologygenerateRandomTopology ()=0
 
virtual std::vector< boost::shared_ptr< Topology > > generateStarTopologies ()=0
 

Detailed Description

Abstract Interface to TopologyCreator, which generates different topologies of object graphs.

Definition at line 27 of file AbstractTopologyCreator.h.

Member Function Documentation

virtual std::vector<boost::shared_ptr<Topology> > SceneModel::AbstractTopologyCreator::generateAllConnectedTopologies ( )
pure virtual

Generates all connected topologies containing the object types from constructor.

Returns
all connected topologies.

Implemented in SceneModel::TopologyCreator.

virtual boost::shared_ptr<Topology> SceneModel::AbstractTopologyCreator::generateFullyMeshedTopology ( )
pure virtual

Generates the fully meshed topolgy containing all the object types from constructor.

Returns
the fully meshed topology.

Implemented in SceneModel::TopologyCreator.

virtual std::vector<boost::shared_ptr<Topology> > SceneModel::AbstractTopologyCreator::generateNeighbours ( boost::shared_ptr< Topology pFrom)
pure virtual

Generates a set of neighbouring topologies from the given one using up to three operations depending on the parameters passed in constructor. Operations are adding, removing and swapping relations.

Parameters
pFromthe topology to generate the neighbours for.
Returns
the set of neighbours of this topology.

Implemented in SceneModel::TopologyCreator.

virtual boost::shared_ptr<Topology> SceneModel::AbstractTopologyCreator::generateRandomTopology ( )
pure virtual

Generates a random topology containing the object types.

Returns
a random topology.

Implemented in SceneModel::TopologyCreator.

virtual std::vector<boost::shared_ptr<Topology> > SceneModel::AbstractTopologyCreator::generateStarTopologies ( )
pure virtual

Generates all possible star topologies containing all the object types passed in constructor. A star topology is one where all objects are connected only to a sigle reference object.

Returns
the set of all possible star topologies for the given object types.

Implemented in SceneModel::TopologyCreator.


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


asr_relation_graph_generator
Author(s): Meißner Pascal
autogenerated on Fri Nov 15 2019 03:39:19