BipartiteMatcher


[ ligand_pharma | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

KEYWORD
AUTHORS
CHANGES LOG
GOALS
USAGE

Class Summary

class BipartiteMatcher
{
public:
BipartiteMatcher(unsigned int m, unsigned int n) ;
void addEdge(unsigned int ai, unsigned int bj, double weight );
void removeEdge(unsigned int ai, unsigned int bj);
void updateEdge(unsigned int ai, unsigned int bj, float w);
template< class MatchT> void calculateMatch(MatchT& match);
void getMatch(ScoredMatchedList& match) ;
float getScore() ;
unsigned int calculateMatch() ;
void update();
void clearEdges() ;
protected:
BipartiteGraph bipartiteGraph_;
::list< leda::node> setA_, setB_;
vector< leda::node> id2nodeSetA_, id2nodeSetB_;
unsigned int sizeA_, sizeB_;
::list< leda::edge> matchEdges_;
bool isMatchUpdated_;
}; // BipartiteMatcher

Back to the top of BipartiteMatcher


KEYWORD

Back to the top of BipartiteMatcher


AUTHORS

Back to the top of BipartiteMatcher


CHANGES LOG

Back to the top of BipartiteMatcher


GOALS

Back to the top of BipartiteMatcher

		

USAGE

		

Back to the top of BipartiteMatcher


BipartiteMatcher(unsigned int m, unsigned int n) ;

m,n are the sizes of each set

  BipartiteMatcher(unsigned int m, unsigned int n) ;

Function is currently defined inline.


Back to the top of BipartiteMatcher


void addEdge(unsigned int ai, unsigned int bj, double weight );

  void addEdge(unsigned int ai, unsigned int bj, double weight = 1.0);

Back to the top of BipartiteMatcher


void removeEdge(unsigned int ai, unsigned int bj);

  void removeEdge(unsigned int ai, unsigned int bj);

Back to the top of BipartiteMatcher


void updateEdge(unsigned int ai, unsigned int bj, float w);

  void updateEdge(unsigned int ai, unsigned int bj, float w);

Back to the top of BipartiteMatcher


template< class MatchT> void calculateMatch(MatchT& match);

  template< class MatchT>
  void calculateMatch(MatchT& match);

Back to the top of BipartiteMatcher


void getMatch(ScoredMatchedList& match) ;

  void getMatch(ScoredMatchedList& match)                                                           ;

Function is currently defined inline.


Back to the top of BipartiteMatcher


float getScore() ;

  float getScore()                                                                                ;

Function is currently defined inline.


Back to the top of BipartiteMatcher


unsigned int calculateMatch() ;

  unsigned int calculateMatch()                                                   
;

Function is currently defined inline.


Back to the top of BipartiteMatcher


void update();

  void update();

Back to the top of BipartiteMatcher


void clearEdges() ;

  void clearEdges()                                                              
;

Function is currently defined inline.


Back to the top of BipartiteMatcher


BipartiteGraph bipartiteGraph_;

  BipartiteGraph bipartiteGraph_;

Back to the top of BipartiteMatcher


::list< leda::node> setA_, setB_;

  leda::list< leda::node> setA_, setB_;

Back to the top of BipartiteMatcher


vector< leda::node> id2nodeSetA_, id2nodeSetB_;

  vector< leda::node> id2nodeSetA_, id2nodeSetB_;

Back to the top of BipartiteMatcher


unsigned int sizeA_, sizeB_;

  unsigned int sizeA_, sizeB_;

Back to the top of BipartiteMatcher


::list< leda::edge> matchEdges_;

  leda::list< leda::edge> matchEdges_;

Back to the top of BipartiteMatcher


bool isMatchUpdated_;

  bool isMatchUpdated_;

Back to the top of BipartiteMatcher


All Members

public:
void addEdge(unsigned int ai, unsigned int bj, double weight );
void removeEdge(unsigned int ai, unsigned int bj);
void updateEdge(unsigned int ai, unsigned int bj, float w);
template< class MatchT> void calculateMatch(MatchT& match);
void getMatch(ScoredMatchedList& match) ;
float getScore() ;
unsigned int calculateMatch() ;
void update();
void clearEdges() ;
protected:
BipartiteGraph bipartiteGraph_;
::list< leda::node> setA_, setB_;
vector< leda::node> id2nodeSetA_, id2nodeSetB_;
unsigned int sizeA_, sizeB_;
::list< leda::edge> matchEdges_;
bool isMatchUpdated_;

Back to the top of BipartiteMatcher


Ancestors

Class does not inherit from any other class.

Back to the top of BipartiteMatcher


Descendants

Class is not inherited by any others.

Back to the top of BipartiteMatcher


Generated from source by the Cocoon utilities on Mon Dec 21 11:44:46 2009 .

Report problems to jkotula@unimax.com