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

#include <inputfileexporter.h>

Public Member Functions

 InputFileExporter ()
 
bool exportGraph (QString graphpath, QString coordspath, QString landpath, QString windpath, QString sstpath, QString salinitypath, QString Nitrogenpath, QString Phosporuspath, QString Oxygenpath, QString DissolvedCarbonpath, QString bathymetrypath, QString shippingdensitypath, QString siltfractionpath, QString benthospath, QString benthosnbpath, QString areacodepath, QString closedpath, QString closedpath_month, QString closedpath_vessz, bool export_closedpoly, DisplaceModel *currentModel, QString *error)
 

Protected Member Functions

bool outputClosedPolyFile (QString filename, DisplaceModel *currentModel, std::function< bool(const displace::NodePenalty &)> selector, std::function< std::vector< int >(const displace::NodePenalty &)> dataGetter, QString *error)
 

Constructor & Destructor Documentation

◆ InputFileExporter()

InputFileExporter::InputFileExporter ( )

Member Function Documentation

◆ exportGraph()

bool InputFileExporter::exportGraph ( QString  graphpath,
QString  coordspath,
QString  landpath,
QString  windpath,
QString  sstpath,
QString  salinitypath,
QString  Nitrogenpath,
QString  Phosporuspath,
QString  Oxygenpath,
QString  DissolvedCarbonpath,
QString  bathymetrypath,
QString  shippingdensitypath,
QString  siltfractionpath,
QString  benthospath,
QString  benthosnbpath,
QString  areacodepath,
QString  closedpath,
QString  closedpath_month,
QString  closedpath_vessz,
bool  export_closedpoly,
DisplaceModel currentModel,
QString *  error 
)

◆ outputClosedPolyFile()

bool InputFileExporter::outputClosedPolyFile ( QString  filename,
DisplaceModel currentModel,
std::function< bool(const displace::NodePenalty &)>  selector,
std::function< std::vector< int >(const displace::NodePenalty &)>  dataGetter,
QString *  error 
)
protected

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