The set of all parameters passed into our algorithm
This must be provided by all subclasses for logging purposes. This should not be left up to the user to define. This must be provided by the implementer.
Provides default initial start values for our algorithms.
Provides default initial start values for our algorithms.
An default starting iteration.
Run a single iteration through our algorithm.
Run a single iteration through our algorithm.
The starting iteration that our algorithm will be applied to.
A new iteration.
Calculate the error between two arrays using either the T1 error or the T2 error.
Calculate the error between two arrays using either the T1 error or the T2 error. This is a convenience method.
Flag true
to calculate the T1 error (the sum of absolute differences between two arrays). Flag
false
to calculate the T2 error (the sum of the squared differences between two arrays).
Run final processing of the state.
Run final processing of the state. Unless the method is overridden, it will just return the final state. If normalization needs to happen upon convergence, this method is the ideal location for such
Run the algorithm to completion according to the parameters passed on instantiation.
Run the algorithm to completion according to the parameters passed on instantiation.
The starting point of the iteration. If no iteration is given, the default start is assumed
The final iteration.
All link analysis algorithms should inherit from the
LinkAnalysis
base class.LinkAnalysis
must be generically typed byIterationState
or one of its subclasses. AnIterationState
holds all of the pertinent information for a given algorithm.