public class AiConfig
extends java.lang.Object
| Constructor and Description |
|---|
AiConfig()
Creates a new instance of AiConfig
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
addAiMethod(java.lang.String currentAiConfig,
java.lang.String aiMethod)
Return true if parameter is a valid link method.
|
static java.lang.String |
fixLinkMethod(java.lang.String aiMethod)
Make sure the link specification has the appropriate start and end characters.
|
static boolean |
isClusterMethod(java.lang.String aiMethod)
Return true if a clustering method is indicated.
|
static boolean |
isCompleteCluster(java.lang.String aiMethod)
Return true if a complete link clustering method is indicated.
|
static boolean |
isContainsCluster(java.lang.String aiMethod)
Return true if a contains link clustering method is indicated.
|
static boolean |
isSingleCluster(java.lang.String aiMethod)
Return true if a single link clustering method is indicated.
|
public static boolean isClusterMethod(java.lang.String aiMethod)
aiMethod - a string description of the ai method.public static boolean isContainsCluster(java.lang.String aiMethod)
aiMethod - a string description of the ai method.public static boolean isCompleteCluster(java.lang.String aiMethod)
aiMethod - a string description of the ai method.public static boolean isSingleCluster(java.lang.String aiMethod)
aiMethod - a string description of the ai method.public static java.lang.String addAiMethod(java.lang.String currentAiConfig,
java.lang.String aiMethod)
currentAiConfig - the current ai configuration, null if no config yet.aiMethod - the new ai method to add.public static java.lang.String fixLinkMethod(java.lang.String aiMethod)
aiMethod - the current ai specification.