public class TemplateFactory extends Object
TreeTemplates.| Constructor and Description |
|---|
TemplateFactory() |
| Modifier and Type | Method and Description |
|---|---|
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. |
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 coefficientpublic static SimilarityTemplate aTreeLike(Tree proto)
SimilarityTemplate for a given prototype and a similarity coefficient of .9.proto - the prototypeCopyright © 2017. All Rights Reserved.