DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
ShortestPathBuilder Class Reference

#include <shortestpathbuilder.h>

Classes

struct  Impl
 

Public Types

enum  AlgoType { AlgoType::Dijkstra, AlgoType::AStar }
 
enum  Format { Binary, Text }
 

Public Member Functions

 ShortestPathBuilder (DisplaceModel *model, AlgoType type)
 
virtual ~ShortestPathBuilder () noexcept
 
void create (std::shared_ptr< NodeData > node, QString path, bool simplify, const QList< std::shared_ptr< NodeData > > &relevantNodes, Format format=Binary)
 

Member Enumeration Documentation

◆ AlgoType

Enumerator
Dijkstra 
AStar 

◆ Format

Enumerator
Binary 
Text 

Constructor & Destructor Documentation

◆ ShortestPathBuilder()

ShortestPathBuilder::ShortestPathBuilder ( DisplaceModel model,
AlgoType  type 
)
explicit

◆ ~ShortestPathBuilder()

ShortestPathBuilder::~ShortestPathBuilder ( )
virtualdefaultnoexcept

Member Function Documentation

◆ create()

void ShortestPathBuilder::create ( std::shared_ptr< NodeData node,
QString  path,
bool  simplify,
const QList< std::shared_ptr< NodeData > > &  relevantNodes,
Format  format = Binary 
)

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