1 package fr.orsay.lri.varna.models.treealign;
5 * The result of aligning a tree T1 with a tree T2.
6 * On the resulting tree, each node has a value
7 * of type AlignedNode<original value type>.
8 * @author Raphael Champeimont
10 public class TreeAlignResult<ValueType1, ValueType2> {
11 private Tree<AlignedNode<ValueType1, ValueType2>> alignment;
12 private double distance;
14 public Tree<AlignedNode<ValueType1, ValueType2>> getAlignment() {
17 public void setAlignment(Tree<AlignedNode<ValueType1, ValueType2>> alignment) {
18 this.alignment = alignment;
20 public double getDistance() {
23 public void setDistance(double distance) {
24 this.distance = distance;