Package cz.vutbr.fit.layout.patterns
Class RelationAnalyzer
- java.lang.Object
-
- cz.vutbr.fit.layout.patterns.RelationAnalyzer
-
- Direct Known Subclasses:
RelationAnalyzerSymmetric
public abstract class RelationAnalyzer extends Object
- Author:
- burgetr
-
-
Field Summary
Fields Modifier and Type Field Description static floatMIN_RELATION_WEIGHT
-
Constructor Summary
Constructors Constructor Description RelationAnalyzer(Page page, Collection<ContentRect> areas)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddAreaConnection(AreaConnection conn)abstract voidextractConnections()Extracts all the connections based on the evaluated relations.abstract List<Relation>getAnalyzedRelations()Collection<ContentRect>getAreas()Set<AreaConnection>getConnections()PagegetPage()AreaTopologygetTopology()
-
-
-
Field Detail
-
MIN_RELATION_WEIGHT
public static final float MIN_RELATION_WEIGHT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RelationAnalyzer
public RelationAnalyzer(Page page, Collection<ContentRect> areas)
-
-
Method Detail
-
extractConnections
public abstract void extractConnections()
Extracts all the connections based on the evaluated relations.
-
addAreaConnection
protected void addAreaConnection(AreaConnection conn)
-
getConnections
public Set<AreaConnection> getConnections()
-
getPage
public Page getPage()
-
getAreas
public Collection<ContentRect> getAreas()
-
getTopology
public AreaTopology getTopology()
-
-