Package cz.vutbr.fit.layout.segm.op
Class HomogeneousLeafOperator
- java.lang.Object
-
- cz.vutbr.fit.layout.impl.BaseService
-
- cz.vutbr.fit.layout.impl.BaseParametrizedOperation
-
- cz.vutbr.fit.layout.impl.BaseOperator
-
- cz.vutbr.fit.layout.segm.op.SuperAreaOperator
-
- cz.vutbr.fit.layout.segm.op.HomogeneousLeafOperator
-
- All Implemented Interfaces:
AreaTreeOperator,ParametrizedOperation,Service
public class HomogeneousLeafOperator extends SuperAreaOperator
This operator joins the homogeneous-style leaf nodes to larger artificial areas.- Author:
- burgetr
-
-
Field Summary
-
Fields inherited from class cz.vutbr.fit.layout.segm.op.SuperAreaOperator
depthLimit
-
-
Constructor Summary
Constructors Constructor Description HomogeneousLeafOperator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(AreaTree atree)Applies the operation to the given tree.voidapply(AreaTree atree, Area root)Applies the operation to the given subtree of the tree.protected GroupAnalyzercreateGroupAnalyzer(Area root)StringgetDescription()Obtains a longer description of the service.StringgetId()Obtains a unique ID of the serviceStringgetName()Obtains a descriptive name of the service that may be presented to the user.-
Methods inherited from class cz.vutbr.fit.layout.segm.op.SuperAreaOperator
defineParams, findSuperAreas, getCategory, getDepthLimit, setDepthLimit
-
Methods inherited from class cz.vutbr.fit.layout.impl.BaseOperator
toString
-
Methods inherited from class cz.vutbr.fit.layout.impl.BaseParametrizedOperation
getParam, getParams, getParamString, setParam
-
Methods inherited from class cz.vutbr.fit.layout.impl.BaseService
getServiceManager, setServiceManager
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cz.vutbr.fit.layout.api.ParametrizedOperation
getParam, getParams, getParamString, setParam
-
Methods inherited from interface cz.vutbr.fit.layout.api.Service
setServiceManager
-
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:ServiceObtains a unique ID of the service- Specified by:
getIdin interfaceService- Overrides:
getIdin classSuperAreaOperator
-
getName
public String getName()
Description copied from interface:ServiceObtains a descriptive name of the service that may be presented to the user.- Specified by:
getNamein interfaceService- Overrides:
getNamein classSuperAreaOperator- Returns:
- the operator name
-
getDescription
public String getDescription()
Description copied from interface:ServiceObtains a longer description of the service.- Specified by:
getDescriptionin interfaceService- Overrides:
getDescriptionin classSuperAreaOperator- Returns:
- the description
-
apply
public void apply(AreaTree atree)
Description copied from interface:AreaTreeOperatorApplies the operation to the given tree.- Specified by:
applyin interfaceAreaTreeOperator- Overrides:
applyin classSuperAreaOperator- Parameters:
atree- the area tree to be modified.
-
apply
public void apply(AreaTree atree, Area root)
Description copied from interface:AreaTreeOperatorApplies the operation to the given subtree of the tree.- Specified by:
applyin interfaceAreaTreeOperator- Overrides:
applyin classSuperAreaOperator- Parameters:
atree- the area tree to be modified.root- the root node of the affected subtree.
-
createGroupAnalyzer
protected GroupAnalyzer createGroupAnalyzer(Area root)
- Overrides:
createGroupAnalyzerin classSuperAreaOperator
-
-