Package | Description |
---|---|
gov.sandia.cognition.algorithm |
Provides general interfaces and implementations for algorithms.
|
gov.sandia.cognition.collection |
Provides commonly useful collection implementations.
|
gov.sandia.cognition.evaluator |
Provides interfaces and classes to do with the
Evaluator interface. |
gov.sandia.cognition.io |
Provides general classes for assisting with input/output operations.
|
gov.sandia.cognition.learning.algorithm |
Provides general interfaces for learning algorithms.
|
gov.sandia.cognition.learning.algorithm.annealing |
Provides the Simulated Annealing algorithm.
|
gov.sandia.cognition.learning.algorithm.clustering |
Provides clustering algorithms.
|
gov.sandia.cognition.learning.algorithm.genetic |
Provides a genetic algorithm implementation.
|
gov.sandia.cognition.learning.algorithm.genetic.reproducer |
Provides reproduction functions for use with a Genetic Algorithm.
|
gov.sandia.cognition.learning.algorithm.genetic.selector |
Provides selection functions for a Genetic Algorithm.
|
gov.sandia.cognition.learning.algorithm.gradient |
Provides gradient based learning algorithms.
|
gov.sandia.cognition.learning.algorithm.minimization.line |
Provides line (scalar) minimization algorithms.
|
gov.sandia.cognition.learning.function.scalar |
Provides functions that output real numbers.
|
gov.sandia.cognition.math |
Provides classes for mathematical computation.
|
gov.sandia.cognition.math.matrix |
Provides interfaces and classes for linear algebra.
|
gov.sandia.cognition.math.matrix.mtj.decomposition |
Provides matrix decomposition implementations using the Matrix Toolkits for
Java (MTJ) library.
|
gov.sandia.cognition.util |
Provides general utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractIterativeAlgorithm
The
AbstractIterativeAlgorithm class implements a simple part of
the IterativeAlgorithm interface that manages the listeners for the
algorithm. |
interface |
IterativeAlgorithm
The
IterativeAlgorithm interface defines the functionality of a
algorithm that works through multiple iteration steps in order to perform
its computation. |
interface |
IterativeAlgorithmListener
The
IterativeAlgorithmListener interface defines the events that
are generated by an IterativeAlgorithm . |
interface |
StoppableAlgorithm
Defines methods for an algorithm that can be stopped early during its
execution.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultMultiCollection<EntryType>
The
DefaultMultiCollection class implements a Collection that just
contains a set of internal collections inside. |
class |
DynamicArrayMap<ValueType>
A
DynamicArrayList is a class that implements a map from an
integer to an Object type on top of an expanding array. |
class |
MultiIterator<EntryType>
The
MultiIterator class implements an iterator that iterates over a
bunch of internal iterators, exhausting one before moving to the next. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractStatefulEvaluator<InputType,OutputType,StateType extends CloneableSerializable>
The
AbstractStatefulEvalutor class is an abstract implementation of
the StatefulEvalutor interface. |
interface |
Evaluator<InputType,OutputType>
The
Evaluator interface is a general interface to a function
that can take an input and produce an output. |
Modifier and Type | Class and Description |
---|---|
class |
CSVParseException
The
CSVParseException class implements an exception that is
thrown while parsing a CSV file. |
class |
CSVUtility
The
CSVUtility class implements some utility functions for
dealing with comma-separated value (CSV) file types. |
class |
ObjectSerializationHandler
The
ObjectSerializationHandler class implements methods for
handling the serialization and deserialization of objects. |
class |
XStreamSerializationHandler
Reads and writes Objects in XML format.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BatchCostMinimizationLearner<CostParametersType,ResultType>
The
BatchCostMinimizationLearner interface defines the functionality
of a cost-minimization learning algorithm should follow. |
Modifier and Type | Interface and Description |
---|---|
interface |
Perturber<PerturbedType>
The Perturber interface defines the functionality of an object that can
take an object and perturb it, returning the perturbed value.
|
class |
SimulatedAnnealer<CostParametersType,AnnealedType>
The SimulatedAnnealer class implements the simulated annealing algorithm
using the provided cost function and perturbation function.
|
class |
VectorizablePerturber
The VectorizablePerturber implements a Perturber for Vectorizable objects.
|
Modifier and Type | Class and Description |
---|---|
class |
KMeansClusterer<DataType,ClusterType extends Cluster<DataType>>
The
KMeansClusterer class implements the standard k-means
(k-centroids) clustering algorithm. |
Modifier and Type | Class and Description |
---|---|
class |
EvaluatedGenome<GenomeType>
The EvaluatedGenome class wraps together a Genome and its cost score.
|
class |
GeneticAlgorithm<CostParametersType,GenomeType>
The GeneticAlgorithm class implements a generic genetic algorithm
that uses a given cost function to minimize and a given reproduction
function for generating the population.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CrossoverFunction<GenomeType>
The CrossoverFunction interface implements standard functionality for
implementing crossover for genetic algorithms.
|
class |
CrossoverReproducer<GenomeType>
The CrossoverReproducer takes a population of genomes, and applies the
supplied CrossoverFunction to produce a new population.
|
class |
MultiReproducer<GenomeType>
The MultiReproducer class implements a Reproducer that takes multiple
Reproducers and applies them to a population.
|
class |
MutationReproducer<GenomeType>
The MutationReproducer class implements a Reproducer that applies a
Perturber to the supplied population to produce a new population. |
interface |
Reproducer<GenomeType>
The Reproducer interface defines the functionality of a reproduction
algorithm in a genetic algorithm.
|
class |
VectorizableCrossoverFunction
The VectorizableCrossoverFunction class is a
CrossoverFunction that
takes two Vectorizable . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSelector<GenomeType>
The
AbstractSelector class provides some common functionality
for implementations of Selectors . |
interface |
Selector<GenomeType>
The Selector interface defines a type of reproducer that can select a portion
of a population for reproduction.
|
class |
TournamentSelector<GenomeType>
The TournamentSelector class implements a Selector that uses tournament
selection to create a new population.
|
Modifier and Type | Interface and Description |
---|---|
interface |
GradientDescendable
Defines the functionality of an object that is required in order to apply
the gradient descent algorithm to it.
|
Modifier and Type | Class and Description |
---|---|
class |
LineBracket
Class that defines a bracket for a scalar function.
|
Modifier and Type | Class and Description |
---|---|
class |
AtanFunction
Returns the element-wise arctangent of the input vector, compressed between
-maxMagnitude and maxMagnitude (instead of just -PI/2 and PI/2)
|
class |
SigmoidFunction
An implementation of a sigmoid squashing function.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRing<RingType extends Ring<RingType>>
Implements the non-inline versions of the various Ring functions.
|
class |
AbstractUnivariateScalarFunction
Abstract implementation of ScalarFunction where the evaluate(Double) method
calls back into the evaluate(double) method.
|
class |
ComplexNumber
Represents a complex number in a rectangular manner, explicitly storing
the real and imaginary portions: real + j*imaginary
|
interface |
DivergenceFunction<FirstType,SecondType>
The DivergenceFunction class defines the functionality of something that
computes the divergence between two objects.
|
interface |
Metric<EvaluatedType>
A metric is a non-negative function that satisfies the following properties
g(x, y) + g(y, z) >= g(x, z)
g(x, y) == g(y, x)
g(x, x) == 0.
|
class |
OperationNotConvergedException
The
OperationNotConvergedException class is an exception that
is thrown when some mathematical operation does not converge, when it is
expected to converge. |
interface |
Ring<RingType extends Ring<RingType>>
Defines something similar to a mathematical ring.
|
class |
RingAccumulator<RingType extends Ring<RingType>>
The
RingAccumulator class implements a simple object that
is used to accumulate objects that implement the Ring interface. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMatrix
Abstract implementation of some low-hanging functions in the Matrix
interface.
|
class |
AbstractVector
Abstract implementation of some of the Vector interface, in a storage-free
manner
|
interface |
Matrix
Defines the base functionality for all implementations of a Matrix
|
interface |
Vector
The
Vector interface defines the operations that are expected
on a mathematical vector. |
Modifier and Type | Class and Description |
---|---|
class |
EigenDecompositionRightMTJ
Computes the right (standard) eigendecomposition of the given matrix.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRandomized
The
AbstractRandomized abstract class implements the
Randomized interface by containing the random object in a protected
field. |
class |
ArrayIndexSorter
Returns the indices of the array sorted in ascending or descending order
|
interface |
CloneableSerializable
An object that is both cloneable and serializable, because Java's
Cloneable interface mistakenly doesn't have a clone() method
(search on the Web, it's funny "lost in the mists of time..." )
|
class |
DefaultNamedValue<ValueType>
The
DefaultNamedValue class implements a container of a name-value
pair. |
class |
DefaultPair<FirstType,SecondType>
The
DefaultPair class implements a simple structure for a pair
of two objects, potentially of different types. |
interface |
Named
The
Named interface defines an Object that has a useful name
attached to it, which is common for many types of Objects. |