Stanse  -1
Public Member Functions | List of all members
cz.muni.stanse.threadchecker.graph.DependencyGraph Class Reference

Public Member Functions

 DependencyGraph ()
 
 DependencyGraph (List< DependencyRule > rules)
 
Collection< DependencyRulegetRules ()
 
void addRule (DependencyRule newRule)
 
boolean isSubset (DependencyGraph otherGraph)
 
DependencyGraph merge (DependencyGraph other)
 
boolean equals (Object obj)
 
int hashCode ()
 
int size ()
 
String toString ()
 

Detailed Description

Class holds List of DependencyRules and also provides some usefull methods for comparing and reducing number of rules.

Author
Jan Kučera

Constructor & Destructor Documentation

cz.muni.stanse.threadchecker.graph.DependencyGraph.DependencyGraph ( )
inline
cz.muni.stanse.threadchecker.graph.DependencyGraph.DependencyGraph ( List< DependencyRule rules)
inline

Member Function Documentation

void cz.muni.stanse.threadchecker.graph.DependencyGraph.addRule ( DependencyRule  newRule)
inline
boolean cz.muni.stanse.threadchecker.graph.DependencyGraph.equals ( Object  obj)
inline
Collection<DependencyRule> cz.muni.stanse.threadchecker.graph.DependencyGraph.getRules ( )
inline
int cz.muni.stanse.threadchecker.graph.DependencyGraph.hashCode ( )
inline
boolean cz.muni.stanse.threadchecker.graph.DependencyGraph.isSubset ( DependencyGraph  otherGraph)
inline

Method compare otherGraph wheter these two graphs are subset or similar

Parameters
otherGraphDependencyGraph
Returns
true whether otherGraph has similar DependencyRules.
DependencyGraph cz.muni.stanse.threadchecker.graph.DependencyGraph.merge ( DependencyGraph  other)
inline

Method create new DependencyGraph and merge there Dep. rules from this and other graph.

Parameters
otherDependencyGraph
Returns
DependencyGraph merged graph
int cz.muni.stanse.threadchecker.graph.DependencyGraph.size ( )
inline
String cz.muni.stanse.threadchecker.graph.DependencyGraph.toString ( )
inline

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