gr.demokritos.iit.jinsect.structs
Interface IMergeable<TType>

All Known Implementing Classes:
DocumentNGramDistroGraph, DocumentNGramGaussNormGraph, DocumentNGramGaussNormSymWinGraph, DocumentNGramGraph, DocumentNGramSymWinDistroGraph, DocumentNGramSymWinGraph, DocumentWordDistroGraph, DocumentWordGraph, NamedDocumentNGramGraph

public interface IMergeable<TType>

Describes a class that can be merged with (updated by) another object.


Method Summary
 void merge(TType dgOtherObject, double fWeightPercent)
          Merges the object with a new one, given a weight parameter used in the update.
 

Method Detail

merge

void merge(TType dgOtherObject,
           double fWeightPercent)
Merges the object with a new one, given a weight parameter used in the update.

Parameters:
dgOtherObject - The second object used for the merging.
fWeightPercent - The convergence tendency parameter. Typically, a value of 0.0 means no change to existing object, 1.0 means updated object is the same as the new object. A value of 0.5 means new object is equally similar to the two source objects (averaging effect).