Bpp/Graph_problem
Tension
Structure
C++
 
 
DESCRIPTION
 

This module provides structures to model tension problems in graphs.

 
SOURCE FILES
 

This section allows you to access the C++ source files of the module.

 
PARENT MODULE
 

This module is part of Bpp/Graph_problem/Tension.

 
INCLUDED FILES
 

The files listed below are included in the interface part of the module. So any module dependent of this module is also dependent of the files listed here.

  • <bpp/graph.hpp>

 
NEEDED FILES
 

The files listed below are needed by the implementation part of the module. But a module dependent of this module is not necessary dependent of the files listed here.

  • <bpp/modules.hpp>

 
INTEGRATED NAMESPACES
 

The namespaces listed below are integrated in this module. That means any element declared in one of those namespaces can now be directly used by or from this module.

  • graph

 
TYPES
 

Here are listed the types defined in the module. To use one of them, you have to specify the namespace of the module.

  • type clArc<clArcDataI,clNodeData> clTensionArcI
    Arc of a graph that has a tension problem with no cost implied.

  • type clArc<clArcDataII,clNodeData> clTensionArcII
    Arc of a graph that has a tension problem with costs implied.

  • type clGraph<clArcDataI,clNodeData> clTensionGraphI
    Graph that has a tension problem with no cost implied.

  • type clGraph<clArcDataII,clNodeData> clTensionGraphII
    Graph that has a tension problem with costs implied.

  • type clNode<clArcDataI,clNodeData> clTensionNodeI
    Node of a graph that has a tension problem with no cost implied.

  • type clNode<clArcDataII,clNodeData> clTensionNodeII
    Node of a graph that has a tension problem with costs implied.

 
CLASSES
 

Here are listed the classes provided by the module. To use one of them, you have to specify the namespace of the module.

 
clArcDataI
 
 
Declaration

class clArcDataI

 
Description

Represents the data carried by an arc in a graph that has a tension problem with no cost implied.

 
Attributes
  • tyReal minimum()
    Minimum tension of the arc. Reading and writing access.

  • tyReal maximum()
    Maximum tension of the arc. Reading and writing access.

  • tyReal tension()
    Resolved tension of the arc. Reading and writing access.

 
Methods
 
clArcDataII
 
 
Declaration

class clArcDataII

 
Description

Represents the data carried by an arc in a graph that has a tension problem with costs implied.

 
Attributes
  • tyReal minimum()
    Minimum tension of the arc. Reading and writing access.

  • tyReal maximum()
    Maximum tension of the arc. Reading and writing access.

  • tyReal tension()
    Resolved tension of the arc. Reading and writing access.

  • tyReal cost()
    Cost of the arc. Reading and writing access.

 
Methods
 
clNodeData
 
 
Declaration

class clNodeData

 
Description

Represents the data carried by a node in a graph that has a tension problem.

 
Attributes
  • tyReal potential()
    Resolved potential of the node. Reading and writing access.

 
Methods
 
 
Copyright (c) 1999-2016 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org).