FMT 1.2.0
Forest management tools for forest planning
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
Graph::FMTGraphStats Class Reference

Statistics about a FMTGraph and its FMTLpSolver: their size, elements and type of elements. More...

#include <FMTGraphStats.h>

Public Member Functions

 FMTGraphStats ()
 Default constructor for FMTGraphStats.
 
 FMTGraphStats (const FMTGraphStats &rhs)=default
 Default copy constructor for FMTGraphStats.
 
FMTGraphStatsoperator= (const FMTGraphStats &rhs)=default
 Default copy assignment operator for FMTGraphStats.
 
FMTGraphStatsoperator+= (const FMTGraphStats &rhs)
 Compound addition assignment operator for FMTGraphStats.
 
FMTGraphStatsoperator-= (const FMTGraphStats &rhs)
 Compound subtraction assignment operator for FMTGraphStats.
 
FMTGraphStats operator+ (const FMTGraphStats &rhs)
 Addition operator for FMTGraphStats.
 
FMTGraphStats operator- (const FMTGraphStats &rhs)
 Subtraction operator for FMTGraphStats.
 
bool operator== (const FMTGraphStats &rhs) const
 Comparison operator for FMTGraphStats.
 
bool operator!= (const FMTGraphStats &rhs) const
 Comparison operator for FMTGraphStats.
 
 operator std::string () const
 Return all the information contained in the FMTGraphStats as a string.
 
 ~FMTGraphStats ()=default
 Default destructor for FMTGraphStats.
 

Public Attributes

int cols
 Number of columns in the matrix of FMTLpSolver.
 
int rows
 Number of rows in the matrix of FMTLpSolver.
 
int vertices
 Number of vertices in the FMTGraph.
 
int edges
 Number of edges in the FMTGraph.
 
int transfer_rows
 Number of area transfer rows in the FMTLpSolver.
 
int output_rows
 Number of output rows in the FMTLpSolver.
 
int output_cols
 Number of output cols in the FMTLpSolver.
 

Friends

class boost::serialization::access
 

Detailed Description

Statistics about a FMTGraph and its FMTLpSolver: their size, elements and type of elements.

Constructor & Destructor Documentation

◆ FMTGraphStats() [1/2]

Graph::FMTGraphStats::FMTGraphStats ( )

Default constructor for FMTGraphStats.

◆ FMTGraphStats() [2/2]

Graph::FMTGraphStats::FMTGraphStats ( const FMTGraphStats rhs)
default

Default copy constructor for FMTGraphStats.

Parameters
[in]rhsthe FMTGraphStats to copy.

◆ ~FMTGraphStats()

Graph::FMTGraphStats::~FMTGraphStats ( )
default

Default destructor for FMTGraphStats.

Member Function Documentation

◆ operator std::string()

Graph::FMTGraphStats::operator std::string ( ) const

Return all the information contained in the FMTGraphStats as a string.

Returns
the string representation of the stats.

◆ operator!=()

bool Graph::FMTGraphStats::operator!= ( const FMTGraphStats rhs) const

Comparison operator for FMTGraphStats.

Parameters
[in]rhsthe FMTGraphStats to compare to.
Returns
true if both stats are different else false.

◆ operator+()

FMTGraphStats Graph::FMTGraphStats::operator+ ( const FMTGraphStats rhs)

Addition operator for FMTGraphStats.

Parameters
[in]rhsthe FMTGraphStats to add.
Returns
the sum of the FMTGraphStats.

◆ operator+=()

FMTGraphStats & Graph::FMTGraphStats::operator+= ( const FMTGraphStats rhs)

Compound addition assignment operator for FMTGraphStats.

Parameters
[in]rhsthe FMTGraphStats to add.
Returns
a reference to this FMTGraphStats.

◆ operator-()

FMTGraphStats Graph::FMTGraphStats::operator- ( const FMTGraphStats rhs)

Subtraction operator for FMTGraphStats.

Parameters
[in]rhsthe FMTGraphStats to subtract.
Returns
the difference of the FMTGraphStats.

◆ operator-=()

FMTGraphStats & Graph::FMTGraphStats::operator-= ( const FMTGraphStats rhs)

Compound subtraction assignment operator for FMTGraphStats.

Parameters
[in]rhsthe FMTGraphStats to subtract.
Returns
a reference to this FMTGraphStats.

◆ operator=()

FMTGraphStats & Graph::FMTGraphStats::operator= ( const FMTGraphStats rhs)
default

Default copy assignment operator for FMTGraphStats.

Parameters
[in]rhsthe FMTGraphStats to copy.
Returns
a reference to this FMTGraphStats.

◆ operator==()

bool Graph::FMTGraphStats::operator== ( const FMTGraphStats rhs) const

Comparison operator for FMTGraphStats.

Parameters
[in]rhsthe FMTGraphStats to compare to.
Returns
true if both stats are equal else false.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ cols

int Graph::FMTGraphStats::cols

Number of columns in the matrix of FMTLpSolver.

◆ edges

int Graph::FMTGraphStats::edges

Number of edges in the FMTGraph.

◆ output_cols

int Graph::FMTGraphStats::output_cols

Number of output cols in the FMTLpSolver.

◆ output_rows

int Graph::FMTGraphStats::output_rows

Number of output rows in the FMTLpSolver.

◆ rows

int Graph::FMTGraphStats::rows

Number of rows in the matrix of FMTLpSolver.

◆ transfer_rows

int Graph::FMTGraphStats::transfer_rows

Number of area transfer rows in the FMTLpSolver.

◆ vertices

int Graph::FMTGraphStats::vertices

Number of vertices in the FMTGraph.


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