- sameWordList(BagOfWords) - Method in class org.ai_heuristic.model.BagOfWords
-
Return true if this bag-of-words has the same word list as the bag-of-words
passed in.
- SC - Static variable in class org.ai_heuristic.util.SymbolHandler
-
- sd(String, EvaluateMathDef, ArrayList<?>) - Static method in class org.ai_heuristic.functs.MathStat
-
Calculate the standard deviation value of the list of elements.
- search(String, MetricDataset, int) - Method in class org.ai_heuristic.tree.KD_Tree
-
Search the tree and return the k
closest matches to the dataset.
- search(String, MetricDataset, ArrayList<KD_TreeNode>, ArrayList<T>, int, int) - Method in class org.ai_heuristic.tree.KD_TreeNode
-
Search the tree and return the k
closest matches to the dataset.
- SelectionSort - Class in org.ai_heuristic.algo.sort
-
Implementation of the selection sort algorithm.
- SelectionSort() - Constructor for class org.ai_heuristic.algo.sort.SelectionSort
-
Create a new instance of SelectionSort
- serialize(T) - Method in interface org.ai_heuristic.def.ParserDef
-
Serialize the object into an XML element.
- serialize(Object) - Method in class org.ai_heuristic.parser.BagOfWordsParser
-
Serialize the object into an XML element.
- serialize(BagOfWords) - Method in class org.ai_heuristic.parser.BagOfWordsParser
-
Serialize the object into an XML element.
- serialize(Object) - Method in class org.ai_heuristic.parser.ConditionParser
-
Serialize the object into an XML element.
- serialize(Condition) - Method in class org.ai_heuristic.parser.ConditionParser
-
Serialize the object into an XML element.
- serialize(Object) - Method in class org.ai_heuristic.parser.MetaBagOfWordsParser
-
Serialize the object into an XML element.
- serialize(MetaBagOfWords) - Method in class org.ai_heuristic.parser.MetaBagOfWordsParser
-
Serialize the object into an XML element.
- serviceCategory - Variable in class org.ai_heuristic.model.FactoryInfo
-
The service category related to the class.
- serviceType - Variable in class org.ai_heuristic.model.FactoryInfo
-
The service type related to the class
- setActivationFunction(FunctionActivate) - Method in class org.ai_heuristic.algo.cluster.som.network.DefaultNeuron
-
Set activation function
- setBagOfWords(HashMap<String, Integer>) - Method in class org.ai_heuristic.model.BagOfWords
-
Set the bag of words for this class to process.
- setBagOfWords(HashMap<String, Integer>, ArrayList<String>) - Method in class org.ai_heuristic.model.BagOfWords
-
Set the bag of words for this class to process.
- setBias(double) - Method in class org.ai_heuristic.algo.cluster.som.network.DefaultNeuronWithBias
-
Set bias
- setBucketSize(int) - Method in class org.ai_heuristic.tree.KD_TreeNode
-
Set the node bucket size or maximum capacity.
- setChildNodes(HashMap<String, TreeNode>) - Method in class org.ai_heuristic.tree.TreeNode
-
Set the full list of child nodes, replacing any existing list.
- setChildNodes(ArrayList<String>, HashMap<String, TreeNode>) - Method in class org.ai_heuristic.tree.TreeNode
-
Set the full list of child nodes, replacing any existing list.
- setColNumber(int) - Method in class org.ai_heuristic.algo.cluster.som.topology.HexagonalTopology
-
Set number of columns
- setColNumber(int) - Method in class org.ai_heuristic.algo.cluster.som.topology.MatrixTopology
-
Set number of columns
- setColNumber(int) - Method in interface org.ai_heuristic.algo.cluster.som.topology.TopologyModel
-
Set number of columns
- setConfigParams(HashMap<String, ?>) - Method in class org.ai_heuristic.functs.Function
-
Set the additional config parameters list.
- setCount(float) - Method in class org.ai_heuristic.tree.TreeNode
-
Set the count value, frequency or something else.
- setDataset(MetricDataset) - Method in class org.ai_heuristic.algo.AlgorithmCompareList
-
Set the dataset this algorithm uses as the reference point.
- setDatasetTree(KD_Tree) - Method in class org.ai_heuristic.algo.AlgorithmCompareTree
-
Set the datasets/points that are this algorithm's tree.
- setDirection(String) - Method in class org.ai_heuristic.model.MetaBagOfWords
-
Set the movement direction.
- setDistanceFunction(FunctionMetric) - Method in class org.ai_heuristic.algo.cluster.som.network.KohonenNeuron
-
Set distance function
- setEvaluator(EvaluateMathDef) - Method in class org.ai_heuristic.functs.Function
-
Set the evaluator used to make the mathematical comparisons.
- setFunctionalModel(FunctionLearn) - Method in class org.ai_heuristic.algo.cluster.som.kohonen.WTMLearningFunction
-
Set functional learning factor model
- setLearnFunction(FunctionLearn) - Method in class org.ai_heuristic.algo.cluster.som.network.KohonenNeuron
-
Set learn function
- setLearningData(LearningDataModel) - Method in class org.ai_heuristic.algo.cluster.som.kohonen.WTALearningFunction
-
Set reference to learning data
- setLearningData(LearningDataModel) - Method in class org.ai_heuristic.algo.cluster.som.kohonen.WTMLearningFunction
-
Set reference to learning data
- setMathEvaluator(EvaluateMathDef) - Method in class org.ai_heuristic.tree.KD_TreeNode
-
Set the evaluator for mathematical expressions.
- setMaxIteration(int) - Method in class org.ai_heuristic.algo.cluster.som.kohonen.WTALearningFunction
-
Set max interation
- setMaxIteration(int) - Method in class org.ai_heuristic.algo.cluster.som.kohonen.WTMLearningFunction
-
Set max iteration
- setMetricEvaluator(FunctionMetric) - Method in class org.ai_heuristic.tree.KD_TreeNode
-
Set the evaluator for comparing datasets.
- setMetrics(FunctionMetric) - Method in class org.ai_heuristic.algo.cluster.som.kohonen.WTMLearningFunction
-
Set metrics
- setModel(Tree) - Method in class org.ai_heuristic.algo.classify.Markov
-
Set the model to an already existing one.
- setN(int) - Method in class org.ai_heuristic.algo.prob.NGram
-
Set the n value.
- setName(String) - Method in class org.ai_heuristic.eval.metric.MetricDataset
-
Set the id or name of this value structure.
- setName(String) - Method in class org.ai_heuristic.eval.metric.MetricValue
-
Set the id or name of this data value.
- setName(String) - Method in class org.ai_heuristic.model.BagOfWords
-
Set the name or id of this bag-of-words.
- setNeighboorhoodFunction(NeighbourhoodFunctionModel) - Method in class org.ai_heuristic.algo.cluster.som.kohonen.WTMLearningFunction
-
Set reference to neighbourhood function
- setNetworkModel(NetworkModel) - Method in class org.ai_heuristic.algo.cluster.som.kohonen.WTALearningFunction
-
Set network model
- setNetworkModel(NetworkModel) - Method in class org.ai_heuristic.algo.cluster.som.kohonen.WTMLearningFunction
-
Set network model
- setNodeStats(NodeStats) - Method in class org.ai_heuristic.tree.KD_TreeNode
-
Set the node stats.
- setParameters(double[]) - Method in class org.ai_heuristic.algo.cluster.som.neighbourhood.FractionNeighbourhoodFunction
-
Set parameters.
- setParameters(double[]) - Method in class org.ai_heuristic.algo.cluster.som.neighbourhood.GaussNeighbourhoodFunction
-
Set parameters.
- setParameters(double[]) - Method in interface org.ai_heuristic.algo.cluster.som.neighbourhood.NeighbourhoodFunctionModel
-
Set parameters
- setParams(HashMap<String, Object>) - Method in class org.ai_heuristic.eval.metric.MetricDataset
-
Set the arbitrary parameters list.
- setParent(TreeNode) - Method in class org.ai_heuristic.tree.TreeNode
-
Set the node parent.
- setRadius(int) - Method in class org.ai_heuristic.algo.cluster.som.topology.HexagonalTopology
-
Set radius
- setRadius(int) - Method in class org.ai_heuristic.algo.cluster.som.topology.MatrixTopology
-
Set radius
- setRadius(int) - Method in interface org.ai_heuristic.algo.cluster.som.topology.TopologyModel
-
Set radius
- setRowNumber(int) - Method in class org.ai_heuristic.algo.cluster.som.topology.HexagonalTopology
-
Set number of rows
- setRowNumber(int) - Method in class org.ai_heuristic.algo.cluster.som.topology.MatrixTopology
-
Set numbers of rows
- setRowNumber(int) - Method in interface org.ai_heuristic.algo.cluster.som.topology.TopologyModel
-
Set number of rows
- setTiredness(int) - Method in class org.ai_heuristic.algo.cluster.som.network.KohonenNeuronWithTired
-
Set tiredness
- setTiredness(int) - Method in interface org.ai_heuristic.algo.cluster.som.network.TiredNeuronModel
-
Set tiredness
- setTopology(TopologyModel) - Method in class org.ai_heuristic.algo.cluster.som.network.DefaultNetwork
-
Set topology
- setTopology(TopologyModel) - Method in interface org.ai_heuristic.algo.cluster.som.network.NetworkModel
-
Set topology model
- setTypeSet(String, ArrayList<String>) - Method in class org.ai_heuristic.model.MetaBagOfWords
-
Set the type set for the specified word.
- setValue(Object) - Method in class org.ai_heuristic.eval.metric.MetricValue
-
Set the object value.
- setValue(MetricDataset) - Method in class org.ai_heuristic.tree.TreeNode
-
Set the node value.
- setValueType(String) - Method in class org.ai_heuristic.functs.Function
-
Set the value type for the object to be evaluated.
- setWeight(double[]) - Method in class org.ai_heuristic.algo.cluster.som.network.DefaultNeuron
-
Set weights from array as parameter
- setWeight(double[]) - Method in interface org.ai_heuristic.algo.cluster.som.network.NeuronModel
-
Set weigths from array as parameter
- SHLT - Static variable in class org.ai_heuristic.util.AiHeuristicConst
-
The symmetric hard limit t (threshold) value
- SHORT - Static variable in class org.ai_heuristic.util.AiTypeConst
-
Short class type
- SHORTOBJ - Static variable in class org.ai_heuristic.util.AiTypeConst
-
Short object class type
- sib() - Method in class org.ai_heuristic.algo.prob.KullbackLeibler
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.algo.prob.NGram
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.functs.FunctionMetric
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.functs.metric.CityBlockDistance
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.functs.metric.CosineSimilarity
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.functs.metric.EuclideanDistance
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.functs.metric.JaccardCoefficient
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.functs.metric.MinkowskiDistance
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.functs.similar.DemerauLevenshtein
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.functs.similar.Hamming
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.functs.similar.IndexSimilarity
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.functs.similar.JaroWinkler
-
Return true if a smaller distance between the two vectors is better.
- sib() - Method in class org.ai_heuristic.functs.similar.Levenshtein
-
Return true if a smaller distance between the two vectors is better.
- SimpleFunction - Class in org.ai_heuristic.functs.test
-
This class is one example of a simple numerical function, to be used for testing.
- SimpleFunction() - Constructor for class org.ai_heuristic.functs.test.SimpleFunction
-
Create a new instance of SimpleFunction.
- SimpleFunction(String, int, int) - Constructor for class org.ai_heuristic.functs.test.SimpleFunction
-
Create a new instance of SimpleFunction.
- SimpleFunction(String, HashMap) - Constructor for class org.ai_heuristic.functs.test.SimpleFunction
-
Create a new instance of SimpleFunction.
- SIMPLEFUNCTION - Static variable in class org.ai_heuristic.util.AiHeuristicConst
-
Heuristic and function types
- simpleFunctionType(String) - Method in class org.ai_heuristic.util.AiHeuristicConst
-
Return true if the function type is a default simple type one.
- SimpleMathCompare - Class in org.ai_heuristic.eval
-
Provides one implementation of a general mathematical evaluation function.
- SimpleMathCompare() - Constructor for class org.ai_heuristic.eval.SimpleMathCompare
-
Create a new instance of SimpleMathCompare.
- SIMPLEMATHCOMPARE - Static variable in class org.ai_heuristic.util.AiHeuristicConst
-
- sin(String, EvaluateMathDef, Object, int) - Static method in class org.ai_heuristic.functs.MathStat
-
Use the Taylor series to approximate the Sine angle of x.
- singleLine(String) - Static method in class org.ai_heuristic.util.TextHandler
-
Convert the text back to a single line of text.
- SingleLinkCluster - Class in org.ai_heuristic.algo.cluster
-
Implements the single-link clustering algorithm.
- SingleLinkCluster(FunctionMetric) - Constructor for class org.ai_heuristic.algo.cluster.SingleLinkCluster
-
Create a new empty instance of SingleLinkCluster.
- SingleLinkCluster(String, FunctionMetric) - Constructor for class org.ai_heuristic.algo.cluster.SingleLinkCluster
-
Create a new instance of SingleLinkCluster.
- singleList(String) - Static method in class org.ai_heuristic.util.TextHandler
-
Create a single list of words from the text input.
- singleListSeparatorOK(String) - Static method in class org.ai_heuristic.util.SymbolHandler
-
Return true if the symbol entered can be used as a separator to create a single line list.
- singleListVec(String) - Static method in class org.ai_heuristic.util.TextHandler
-
Create a single list of words from the text input.
- singleSpaces(String) - Static method in class org.ai_heuristic.util.TextHandler
-
Remove double or more spaces between words.
- sort(String, EvaluateMathDef, ArrayList, boolean) - Method in class org.ai_heuristic.algo.sort.BubbleSort
-
Run the sort over all the elements in the array.
- sort(String, EvaluateMathDef, ArrayList, boolean) - Method in class org.ai_heuristic.algo.sort.InsertionSort
-
Run the sort over all the elements in the array.
- sort(String, EvaluateMathDef, ArrayList, boolean) - Method in class org.ai_heuristic.algo.sort.QuickSort
-
Run the sort over all the elements in the array.
- sort(String, EvaluateMathDef, ArrayList, boolean) - Method in class org.ai_heuristic.algo.sort.SelectionSort
-
Run the sort over all the elements in the array.
- sort(String, EvaluateMathDef, ArrayList, boolean) - Method in class org.ai_heuristic.algo.sort.SortAlgorithm
-
Run the sort over all the elements in the array.
- SortAlgorithm - Class in org.ai_heuristic.algo.sort
-
A base class for the sorting algorithms.
- SortAlgorithm() - Constructor for class org.ai_heuristic.algo.sort.SortAlgorithm
-
Create a new instance of SelectionSort
- sortTermOrder(HashMap<String, Float>) - Method in class org.ai_heuristic.eval.text.BowHeuristic
-
Sort the terms in descending order of the term score.
- sortTopTermOrder(int, HashMap<String, Float>) - Method in class org.ai_heuristic.eval.text.BowHeuristic
-
Sort the top number of terms to use.
- SOUTH - Static variable in class org.ai_heuristic.util.TextConst
-
- SOUTHEAST - Static variable in class org.ai_heuristic.util.TextConst
-
- SOUTHWEST - Static variable in class org.ai_heuristic.util.TextConst
-
- SP - Static variable in class org.ai_heuristic.util.SymbolHandler
-
- SPACE - Static variable in class org.ai_heuristic.util.SymbolHandler
-
- sqr(String, EvaluateMathDef, Object) - Static method in class org.ai_heuristic.functs.MathStat
-
Calculate the square of the value.
- sqrt(String, EvaluateMathDef, Object) - Static method in class org.ai_heuristic.functs.MathStat
-
Calculate the square root of the value.
- STACK - Static variable in class org.ai_heuristic.util.AiTypeConst
-
Defines a Stack class parameter type
- startsWithCapitol(String) - Static method in class org.ai_heuristic.util.TextHandler
-
Return true if the word starts with a capitol letter.
- STATS - Static variable in class org.ai_heuristic.util.AiHeuristicConst
-
The stats element type
- stemWord(String) - Method in class org.ai_heuristic.model.WordStemming
-
Stem the single word token.
- STRING - Static variable in class org.ai_heuristic.util.AiTypeConst
-
String class type
- stringToNum(String) - Static method in class org.ai_heuristic.eval.MathString
-
get a numerical representation of the string - the number of characters.
- subtract(String, T, T) - Method in interface org.ai_heuristic.def.EvaluateMathDef
-
Subtract the second value from the first and return the result.
- subtract(String, Object, Object) - Method in class org.ai_heuristic.eval.MathBOW
-
Subtract the second value from the first and return the result.
- subtract(BagOfWords, BagOfWords) - Method in class org.ai_heuristic.eval.MathBOW
-
Subtract the second value from the first and return the result.
- subtract(String, Object, Object) - Method in class org.ai_heuristic.eval.MathString
-
Subtract the second value from the first and return the result.
- subtract(String, String) - Method in class org.ai_heuristic.eval.MathString
-
Subtract the second String value from the first by removing chars in value2
that are in value1.
- subtract(String, T, T) - Method in class org.ai_heuristic.eval.SimpleMathCompare
-
Subtract the second value from the first and return the result.
- subtract(Integer, Integer) - Method in class org.ai_heuristic.eval.SimpleMathCompare
-
Subtract the second value from the first and return the result.
- subtract(Character, Character) - Method in class org.ai_heuristic.eval.SimpleMathCompare
-
Subtract the second value from the first and return the result.
- subtract(Long, Long) - Method in class org.ai_heuristic.eval.SimpleMathCompare
-
Subtract the second value from the first and return the result.
- subtract(Float, Float) - Method in class org.ai_heuristic.eval.SimpleMathCompare
-
Subtract the second value from the first and return the result.
- subtract(Double, Double) - Method in class org.ai_heuristic.eval.SimpleMathCompare
-
Subtract the second value from the first and return the result.
- subtract(BagOfWords, BagOfWords) - Method in class org.ai_heuristic.eval.SimpleMathCompare
-
Subtract the second value from the first and return the result.
- subtract(BagOfWords) - Method in class org.ai_heuristic.model.BagOfWords
-
Create a new bag of words that is the subtraction of the bag passed in from
this one.
- subtract(BagOfWords) - Method in class org.ai_heuristic.model.MetaBagOfWords
-
Create a new bag of words that is the subtraction of the bag passed in from
this one.
- SUBTRACT - Static variable in class org.ai_heuristic.util.AiHeuristicConst
-
This defines the subtraction operator
- sum(String, EvaluateMathDef, ArrayList<?>) - Static method in class org.ai_heuristic.functs.MathStat
-
Calculate the sum total value of the list of elements.
- SymbolHandler - Class in org.ai_heuristic.util
-
This processes symbols for filtering.
- SymbolHandler() - Constructor for class org.ai_heuristic.util.SymbolHandler
-
Create a new instance of SymbolHandler