|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.trees.generators.TemplateFactory
public class TemplateFactory
Factory of TreeTemplates.
| Constructor Summary | |
|---|---|
TemplateFactory()
|
|
| Method Summary | |
|---|---|
static StructuralTemplate.STBuilder |
aTree()
Returns a builder of StructuralTemplates. |
static SimilarityTemplate |
aTreeLike(Tree proto)
Returns a SimilarityTemplate for a given prototype and a similarity coefficient of .9. |
static SimilarityTemplate |
aTreeLike(Tree proto,
double similarity)
Returns a SimilarityTemplate for a given prototype and similarity coefficient. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateFactory()
| Method Detail |
|---|
public static StructuralTemplate.STBuilder aTree()
StructuralTemplates.
public static SimilarityTemplate aTreeLike(Tree proto,
double similarity)
SimilarityTemplate for a given prototype and similarity coefficient.
proto - the prototypesimilarity - the similarity coefficient
public static SimilarityTemplate aTreeLike(Tree proto)
SimilarityTemplate for a given prototype and a similarity coefficient of .9.
proto - the prototype
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||