fr.orsay.lri.varna.models.treealign
Class TreeAlignResult<ValueType1,ValueType2>

java.lang.Object
  extended by fr.orsay.lri.varna.models.treealign.TreeAlignResult<ValueType1,ValueType2>

public class TreeAlignResult<ValueType1,ValueType2>
extends Object

The result of aligning a tree T1 with a tree T2. On the resulting tree, each node has a value of type AlignedNode.

Author:
Raphael Champeimont

Field Summary
private  Tree<AlignedNode<ValueType1,ValueType2>> alignment
           
private  double distance
           
 
Constructor Summary
TreeAlignResult()
           
 
Method Summary
 Tree<AlignedNode<ValueType1,ValueType2>> getAlignment()
           
 double getDistance()
           
 void setAlignment(Tree<AlignedNode<ValueType1,ValueType2>> alignment)
           
 void setDistance(double distance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alignment

private Tree<AlignedNode<ValueType1,ValueType2>> alignment

distance

private double distance
Constructor Detail

TreeAlignResult

public TreeAlignResult()
Method Detail

getAlignment

public Tree<AlignedNode<ValueType1,ValueType2>> getAlignment()

setAlignment

public void setAlignment(Tree<AlignedNode<ValueType1,ValueType2>> alignment)

getDistance

public double getDistance()

setDistance

public void setDistance(double distance)