A B C D E F G H I J K L M N O P R S T U V W X Y Z

S

sample(double[][], double[], int[], Random) - Static method in class org.knowceans.util.FastMultinomial
Fast sampling from a distribution with weights in factors abc, each element of which is a vector of the size of the sampling space K.
sample0(double[][], Random) - Static method in class org.knowceans.util.FastMultinomial
Standard sampling from a distribution with weights in factors abc, each element of which is a vector of the size of the sampling space K.
sample00(double[][], Random) - Static method in class org.knowceans.util.FastMultinomial
Standard sampling from a distribution with weights in factors abc, each element of which is a vector of the size of the sampling space K.
sample2(double[][], double[], int[], Random) - Static method in class org.knowceans.util.FastMultinomial
 
sampleIdx() - Method in class org.knowceans.util.FastMultinomial
Fast sampling from a distribution with weights in factors abc, each element of which is a vector of the size of the sampling space K.
sampleIdx(double[][], double[], int[], Random) - Static method in class org.knowceans.util.FastMultinomial
Fast sampling from a distribution with weights in factors abc, each element of which is a vector of the size of the sampling space K.
sampleIdx2(double[][], double[], int[], Random) - Static method in class org.knowceans.util.FastMultinomial
Fast sampling from a distribution with weights in factors abc, each element of which is a vector of the size of the sampling space K.
Samplers - Class in org.knowceans.util
Diverse sampling methods, including beta, gamma, multinomial, and Dirichlet distributions as well as Dirichlet processes, using Sethurahman's stick-breaking construction and Chinese restaurant process.
Samplers() - Constructor for class org.knowceans.util.Samplers
 
Samplers.CrpData - Class in org.knowceans.util
data structure for a Chinese restaurant process CrpData
Samplers.CrpData(int) - Constructor for class org.knowceans.util.Samplers.CrpData
 
save() - Method in class org.knowceans.util.ArrayCache
save the complete array to the backend
save(String) - Method in class org.knowceans.util.TableList
Save the table list to a file.
saveAscii(String, double[][]) - Static method in class org.knowceans.util.ArrayIo
 
saveBinaryIntMatrix(String, int[][]) - Static method in class org.knowceans.util.ArrayIo
Writes integer matrix to binary file.
saveBinaryMatrix(String, double[][]) - Static method in class org.knowceans.util.ArrayIo
Writes matrix to binary file.
saveShades(String, double[][]) - Static method in class org.knowceans.util.ArrayIo
Save a matrix as shaded values using MayaShades.
saveTransposedAscii(String, double[][]) - Static method in class org.knowceans.util.ArrayIo
 
saveTransposedShades(String, double[][]) - Static method in class org.knowceans.util.ArrayIo
Save a transposed matrix as shaded values using MayaShades.
seed(int) - Static method in class org.knowceans.util.Cokus
Cokus versions/optimizations
set(Collection<E>) - Method in class org.knowceans.sandbox.ListPrinter
resets the printer content, but keeps the configuration.
set(int, TableList.Fields) - Method in class org.knowceans.util.KeyTableList
Set the fields at the index and updates the keys.
set(String, int, Object) - Method in class org.knowceans.util.KeyTableList
Set the field at the index with the value, updating the corresponding key if necessary.
set(int, E) - Method in class org.knowceans.util.SetArrayList
Replaces the element at the specified position in this Vector with the specified element iff the element uniqueness is obeyed by this operation.
set(int, E) - Method in class org.knowceans.util.SetVector
Replaces the element at the specified position in this Vector with the specified element iff the element uniqueness is obeyed by this operation.
set(int, int, Object) - Method in class org.knowceans.util.TableList
Set the field at the index with the value.
set(String, int, Object) - Method in class org.knowceans.util.TableList
Set the field at the index with the value.
SetArrayList<E> - Class in org.knowceans.util
A Collection that implements both the List and the Set interface.
SetArrayList() - Constructor for class org.knowceans.util.SetArrayList
 
SetArrayList(int) - Constructor for class org.knowceans.util.SetArrayList
 
SetArrayList(Collection<? extends E>) - Constructor for class org.knowceans.util.SetArrayList
Initialise the SetVector, getting rid of duplicate elements where duplicates
setAsKey(String) - Method in class org.knowceans.util.KeyTableList
Adds an existing field to the table list.
setBasePath(String) - Static method in class org.knowceans.util.Conf
 
setCount(int, int) - Method in class org.knowceans.corpus.Document
 
setCounts(int[]) - Method in class org.knowceans.corpus.Document
 
setData(SetVector<E>) - Method in class org.knowceans.util.ItemList
set the data vector
setDoc(int, Document) - Method in class org.knowceans.corpus.NumCorpus
 
setDocs(Document[]) - Method in class org.knowceans.corpus.NumCorpus
 
setElementAt(E, int) - Method in class org.knowceans.util.SetArrayList
Replaces the element at the specified position in this Vector with the specified element iff the element uniqueness is obeyed by this operation.
setElementAt(E, int) - Method in class org.knowceans.util.SetVector
Replaces the element at the specified position in this Vector with the specified element iff the element uniqueness is obeyed by this operation.
setFlags(int) - Method in class org.knowceans.util.PatternString
 
setFormat(int, int) - Static method in class org.knowceans.util.Vectors
Set the format of the following double print calls to the column width and number of digits.
setKey(K) - Method in class org.knowceans.map.RankingMap.RankEntry
 
setM(Matcher) - Method in class org.knowceans.util.PatternString
 
setMain() - Static method in class org.knowceans.util.Which
For multithreaded applications that finish the main thread, call this method in the main() method.
setNumTerms(int) - Method in class org.knowceans.corpus.Document
 
setNumWords(int) - Method in class org.knowceans.corpus.Document
 
setOutput(PrintStream) - Static method in class org.knowceans.util.Print
sets the output stream for the printer
setParBounds(int[]) - Method in class org.knowceans.corpus.Document
 
setPatternCaseInsensitive(boolean) - Method in class org.knowceans.map.HashMultiMap
 
setPatternCaseInsensitive(boolean) - Method in class org.knowceans.map.PatternTreeMultiMap
 
setPatternMustMatch(boolean) - Method in class org.knowceans.map.HashMultiMap
 
setPatternMustMatch(boolean) - Method in class org.knowceans.map.PatternTreeMultiMap
 
setPropFile(String) - Static method in class org.knowceans.util.Conf
 
setRand(Random) - Method in class org.knowceans.util.RandomSamplers
 
setSeed(long) - Method in class org.knowceans.util.CokusRandom
Note: only lower half of seed is used.
setSeed(long) - Method in class org.knowceans.util.CokusSampler
Note: only lower half of seed is used.
setState(int) - Method in class org.knowceans.util.ItemList
sets the state of the list, if the state is larger than the size, it is set to zero
setStateByValue(E) - Method in class org.knowceans.util.ItemList
set the new state of the variable
setString(StringBuilder) - Static method in class org.knowceans.util.Print
reset output to write to a string buffer
setSubVector(int[], int[], int[]) - Static method in class org.knowceans.util.Vectors
set the elements of vec at indices with the respective replacements.
setSubVector(int[], int[], int) - Static method in class org.knowceans.util.Vectors
set the elements of vec at indices with the replacement.
setSubVectorCopy(int[], int[], int[]) - Static method in class org.knowceans.util.Vectors
set the elements of a copy of vec at indices with the respective replacements.
setTerm(int, int) - Method in class org.knowceans.corpus.Document
 
setText(StringBuffer) - Method in class org.knowceans.util.PatternString
 
setToStderr() - Static method in class org.knowceans.util.Print
set output to stderr
setToStdout() - Static method in class org.knowceans.util.Print
set output to stdout
setValue(V) - Method in class org.knowceans.map.RankingMap.RankEntry
 
SetVector<E> - Class in org.knowceans.util
A Collection that implements both the List and the Set interface.
SetVector() - Constructor for class org.knowceans.util.SetVector
 
SetVector(int) - Constructor for class org.knowceans.util.SetVector
 
SetVector(int, int) - Constructor for class org.knowceans.util.SetVector
 
SetVector(Collection<? extends E>) - Constructor for class org.knowceans.util.SetVector
Initialise the SetVector, getting rid of duplicate elements where duplicates
setWords(int[]) - Method in class org.knowceans.corpus.Document
 
shadeDouble(double[], double) - Static method in class org.knowceans.util.MayaShades
Create a string representation of the vector.
shadeDouble(double, double) - Static method in class org.knowceans.util.MayaShades
create a string representation whose gray value appears as an indicator of magnitude, cf.
showSubObject(String, Object) - Method in class org.knowceans.sandbox.ObjectPrinter
 
shutdown() - Method in class org.knowceans.util.ParallelFor
shut down the thread pool after final usage
sort(double[], int[]) - Static method in class org.knowceans.util.IndexQuickSort
sort indices
sort(double[]) - Static method in class org.knowceans.util.IndexQuickSort
sort indices
sort(double[], int[], int, int) - Static method in class org.knowceans.util.IndexQuickSort
 
sort(int[], int[]) - Static method in class org.knowceans.util.IndexQuickSort
sort indices
sort(int[]) - Static method in class org.knowceans.util.IndexQuickSort
sort indices
sort(int[], int[], int, int) - Static method in class org.knowceans.util.IndexQuickSort
 
sort(T[], Comparator<T>, int[]) - Static method in class org.knowceans.util.IndexQuickSort
sort indices
sort(T[], Comparator<T>) - Static method in class org.knowceans.util.IndexQuickSort
sort indices
sort(T[], Comparator<T>, int[], int, int) - Static method in class org.knowceans.util.IndexQuickSort
 
sort(String, boolean) - Method in class org.knowceans.util.TableList
Sort the table list by the specified field.
sort(Comparator<TableList.Fields>) - Method in class org.knowceans.util.TableList
Sort the table with the specific comparator given.
sortedKeys(int) - Method in class org.knowceans.map.RankingMap
Get a maximum of count sorted keys.
sortedKeys() - Method in class org.knowceans.map.RankingMap
Get sorted keys.
sortedValues(int) - Method in class org.knowceans.map.RankingMap
Get a maximum of count sorted values.
sortedValues() - Method in class org.knowceans.map.RankingMap
Get sorted values
spacePad(StringBuffer, int) - Method in class org.knowceans.util.Arguments
 
split(int, int, Random) - Method in interface org.knowceans.corpus.ISplitCorpus
splits two child corpora of size 1/nsplit off the original corpus, which itself is left unchanged (except storing the splits).
split(int, int, Random) - Method in class org.knowceans.corpus.LabelNumCorpus
 
split(int, int, Random) - Method in class org.knowceans.corpus.NumCorpus
splits two child corpora of size 1/nsplit off the original corpus, which itself is left unchanged (except storing the splits).
split(TableList.Filter) - Method in class org.knowceans.util.TableList
Get two sublists of this list according to the filter criterion.
sqabs(double[]) - Static method in class org.knowceans.util.Vectors
squared absolute value of vector
sqdist(double[], double[]) - Static method in class org.knowceans.util.Vectors
squared euclidean distance between vectors.
stack() - Static method in class org.knowceans.util.Which
returns a stack trace at the current point, without package names and line numbers
start() - Method in class org.knowceans.util.DataThreadPool
start executing the queue
start() - Method in class org.knowceans.util.PatternString
 
start(int) - Method in class org.knowceans.util.PatternString
 
start(String) - Static method in class org.knowceans.util.StopWatch
Starts the named watch.
start() - Static method in class org.knowceans.util.StopWatch
Start the default stop watch.
stirling(int) - Method in class org.knowceans.util.CokusDistributionSampler
[ss lmss] = stirling(nn) Gives unsigned Stirling numbers of the first kind s(nn,*) in ss.
stirling(int) - Method in class org.knowceans.util.RandomSamplers
[ss lmss] = stirling(nn) Gives unsigned Stirling numbers of the first kind s(nn,*) in ss.
stirling(int) - Static method in class org.knowceans.util.Samplers
[ss lmss] = stirling(nn) Gives unsigned Stirling numbers of the first kind s(nn,*) in ss.
stop() - Method in class org.knowceans.util.ParallelFor
stop loop execution
stop(String) - Static method in class org.knowceans.util.StopWatch
Get the stopping time of the named watch and reset it.
stop() - Static method in class org.knowceans.util.StopWatch
Get the stopping time of the default watch and reset it.
StopWatch - Class in org.knowceans.util
StopWatch allows to time a java program by simply starting lap-timing, stopping and resetting a stop watch "channel".
string() - Static method in class org.knowceans.util.Print
get the last string that has been written to (if any)
StringOutputStream - Class in org.knowceans.util
stream output into a string builder.
StringOutputStream() - Constructor for class org.knowceans.util.StringOutputStream
init with new string builder
StringOutputStream(StringBuilder) - Constructor for class org.knowceans.util.StringOutputStream
init with provided string builder
strings(Object, Object...) - Static method in class org.knowceans.util.Print
prints all objects via tostring methods
stringSep(String, Object...) - Static method in class org.knowceans.util.Print
prints all objects via tostring methods, separated by sep
sub(double[], int, int) - Static method in class org.knowceans.util.Vectors
 
sub(int[], int, int) - Static method in class org.knowceans.util.Vectors
 
subSequence(int, int) - Method in class org.knowceans.util.PatternString
 
substitute(String, String, String) - Method in class org.knowceans.util.PatternString
emulates a perl substitution expression like: this =~ s/expression/replacement/perlFlags
substitute(String, String, int, boolean) - Method in class org.knowceans.util.PatternString
emulates a perl substitution expression like: this =~ s/expression/replacement/perlFlags
substitute(String, String) - Method in class org.knowceans.util.PatternString
emulates a perl substitution expression like: this =~ s/expression/replacement/
substituteAll(String, String) - Method in class org.knowceans.util.PatternString
performs global replace of the string expression with the replacement.
subtract(T) - Method in class org.knowceans.map.CategoryMap
subtract one point to the element.
subtract(int[], int[]) - Static method in class org.knowceans.util.Vectors
a-=b
subtract(double[], int[]) - Static method in class org.knowceans.util.Vectors
a-=b
subtract(int[], double[]) - Static method in class org.knowceans.util.Vectors
a-=b
subtract(double[], double[]) - Static method in class org.knowceans.util.Vectors
a-=b
subVector(double[], int[]) - Static method in class org.knowceans.util.Vectors
returns a copy of the vector elements with the given indices in the original vector.
subVector(int[], int[]) - Static method in class org.knowceans.util.Vectors
returns a copy of the vector elements with the given indices in the original vector.
subVector(double[], int, int) - Static method in class org.knowceans.util.Vectors
 
sum(double[]) - Static method in class org.knowceans.util.Vectors
sum the elements of vec
sum(float[]) - Static method in class org.knowceans.util.Vectors
sum the elements of vec
sum(int[]) - Static method in class org.knowceans.util.Vectors
sum the elements of vec
sumcube(double[]) - Static method in class org.knowceans.util.FastMultinomial
calculate sum of cubes of argument
swap(int[], int, int) - Static method in class org.knowceans.util.IndexQuickSort
 

A B C D E F G H I J K L M N O P R S T U V W X Y Z