Skip to content

Commit

Permalink
Adding documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-87 committed Dec 21, 2015
1 parent 7ef28e7 commit 30d9b7f
Showing 1 changed file with 49 additions and 1 deletion.
50 changes: 49 additions & 1 deletion src/algorithm/include/HyperGraphStat.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/**
* Définition de l'algorithme de génération des statistiques de l'hypergraphe.
*/

#ifndef ALGORITHM_INCLUDE_HPGSTAT
#define ALGORITHM_INCLUDE_HPGSTAT
Expand All @@ -10,27 +13,57 @@
#include "../../model/include/AlgorithmeAbstrait.hh"
#include "../../model/include/RStructure.hh"


/**
* Algorithme de génération des statistiques de l'hypergraphe.
*/
class HyperGraphStat : public AlgorithmeAbstrait {

public:

/**
* Constructeur.
* @param Pointeur partagé vers l'hypergraphe.
*/
HyperGraphStat(const boost::shared_ptr<HypergrapheAbstrait>&);

/**
* Obtenir la structure des résultats - inutilisé ici.
* @return La structure des résultats - inutilisé ici.
*/
RStructure getResult() const;

/**
* Destructeur.
*/
~HyperGraphStat();


public:

/**
* Obtenir le nombre d'hyper-arêtes.
*/
unsigned int getNbrHyperEdge() const;

/**
* Obtenir le nombre d'hyper-vertex.
*/
unsigned int getNbrHyperVertex() const;

/**
* Obtenir le nombre de connexions vertex-arêtes.
*/
unsigned int getNbrLinks() const;

/**
* Obtenir le rang de l'hypergraphe.
*/
unsigned int getRang() const;

/**
* Obtenir le co-rang de l'hypergraphe.
*/
unsigned int getCoRang() const;

protected:
Expand All @@ -49,18 +82,33 @@ protected:
_ptrHypergrapheAbstrait;

/**
* La structure des résultats.
* La structure des résultats - inutilisée ici.
*/
RStructure _result;

/**
* Le nombre d'hyper-arêtes.
*/
unsigned int _nhEdge;

/**
* Le nombre d'hyper-vertex.
*/
unsigned int _nhVertex;

/**
* Le nombre de connexions vertex-arêtes
*/
unsigned int _nhLink;

/**
* Le rang de l'hypergraphe
*/
unsigned int _rang;

/**
* Le co-rang de l'hypergraphe
*/
unsigned int _coRang;

};
Expand Down

0 comments on commit 30d9b7f

Please sign in to comment.