ndiff.phases
Class DeltaDerive
java.lang.Object
ndiff.phases.Phase
ndiff.phases.DeltaDerive
public class DeltaDerive
- extends Phase
- Author:
- schirinz
Deriva dalle informazioni rilevate nell fasi precedenti, un set di operazioni che rappresentano i cambiamenti da effetuare
sul documento originale per ottenere il documento modificato
Method Summary |
void |
compute()
Esegue le operazioni della fase |
METAdelta |
derive()
Calcola il METAdelta e lo restituisce |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeltaDerive
public DeltaDerive(NxN SearchField,
Relation Rel,
Dtree Ta,
Dtree Tb,
Nconfig cfg)
- Costruttore
- Parameters:
SearchField
- Campi di ricerca rimasti in NxNRel
- Relazioni che sono state rilevate tra i nodi dei documentiTa
- Dtree relativo al documento originaleTb
- Dtree relativo al documento modificatocfg
- Nconfig relativo alla configurazione del Diff
derive
public METAdelta derive()
throws ComputePhaseException
- Calcola il METAdelta e lo restituisce
- Returns:
- METAdelta calcolato
- Throws:
ComputePhaseException
- Solleva l'eccezione nel caso in cui si hanno problemi durante la trasformazione
compute
public void compute()
throws ComputePhaseException
- Description copied from class:
Phase
- Esegue le operazioni della fase
- Throws:
ComputePhaseException
- Solleva l'eccezione nel caso si abbia un'errore durante la fase