netkit.inference
Class RelaxationLabeling

java.lang.Object
  extended by netkit.inference.InferenceMethod
      extended by netkit.inference.RelaxationLabeling
All Implemented Interfaces:
Configurable

public class RelaxationLabeling
extends InferenceMethod


Field Summary
 
Fields inherited from class netkit.inference.InferenceMethod
currPrior, idMatrix, initialPrior, logger, numIterations, tmpPredict, unknown
 
Constructor Summary
RelaxationLabeling()
           
 
Method Summary
 void configure(Configuration config)
           
 double getBeta()
           
 double getBeta0()
           
 double getDecay()
           
 Configuration getDefaultConfiguration()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getShortName()
           
 boolean iterate(NetworkClassifier networkClassifier)
           
 void reset(java.util.Iterator<Node> unknowns)
           
 void setBeta(double beta)
           
 void setBeta0(double beta0)
           
 void setDecay(double decay)
           
 
Methods inherited from class netkit.inference.InferenceMethod
addListener, classify, classify, clearListeners, estimate, estimate, getCurrentAccuracy, getCurrentEstimate, getCurrentTrainingLOOAccuracy, getInitialPrior, getNofifyListeners, getNumIterations, notifyListeners, notifyListeners, notifyListeners, removeListener, savePredictions, savePredictionsInPajek, setInitialPrior, setNofityListeners, setNumIterations, setShowIterationAccuracies, setTruth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelaxationLabeling

public RelaxationLabeling()
Method Detail

getDefaultConfiguration

public Configuration getDefaultConfiguration()
Specified by:
getDefaultConfiguration in interface Configurable
Overrides:
getDefaultConfiguration in class InferenceMethod

configure

public void configure(Configuration config)
Specified by:
configure in interface Configurable
Overrides:
configure in class InferenceMethod

reset

public void reset(java.util.Iterator<Node> unknowns)
Overrides:
reset in class InferenceMethod

getShortName

public java.lang.String getShortName()
Specified by:
getShortName in class InferenceMethod

getName

public java.lang.String getName()
Specified by:
getName in class InferenceMethod

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class InferenceMethod

setBeta0

public final void setBeta0(double beta0)

getBeta0

public final double getBeta0()

setBeta

public final void setBeta(double beta)

getBeta

public final double getBeta()

setDecay

public final void setDecay(double decay)

getDecay

public final double getDecay()

iterate

public boolean iterate(NetworkClassifier networkClassifier)
Specified by:
iterate in class InferenceMethod