Skip navigation links
C D E G M S T U 

C

clone() - Method in class DistantSamplerState
 
clone() - Method in interface State
 

D

DistantSampler - Class in <Unnamed>
 
DistantSampler() - Constructor for class DistantSampler
 
DistantSamplerState - Class in <Unnamed>
DistantSamplerState - Stochastic local search state for finding a sample of data points from a set of data points that minimize the sum of inverse-squared Euclidean distances between pairs of data points.
DistantSamplerState(double[][], int) - Constructor for class DistantSamplerState
Initializes the current sample selection to be numSamples unique indices to the data array.

E

energy() - Method in class DistantSamplerState
 
energy() - Method in interface State
 

G

generateUniformData(int, int, long) - Static method in class DistantSampler
Generate a rectangular matrix of random uniform data in the range [0, 1) for a given number of vectors, the number of dimensions of each vectors, and a random number seed.
getSampleIndices() - Method in class DistantSamplerState
Return a sorted list of the indices of data points chosen for the current sample.

M

main(String[]) - Static method in class DistantSampler
Generate data using generateUniformData(100, 2, 0L), create a DistantSamplerState with this data for 10 samples, optimize with sample(), print the resulting state, print the energy, and visualize the result in text.

S

sample(double[][], int) - Static method in class DistantSampler
 
State - Interface in <Unnamed>
State.java - a simple search state interface for stochastic local search.
step() - Method in class DistantSamplerState
 
step() - Method in interface State
 

T

toString() - Method in class DistantSamplerState
 

U

undo() - Method in class DistantSamplerState
 
undo() - Method in interface State
 
C D E G M S T U 
Skip navigation links