Raccoon.SE
Class MappingAlgorithm

java.lang.Object
  extended byRaccoon.SE.MappingAlgorithm

public class MappingAlgorithm
extends java.lang.Object

MappingAlgorithm : The algorithms used to do schema mappings. In version 1.0, the tokenization approach and cosine similarity are used. You can also implement other mapping algorithms in order to test other ideas.

Author:
Qi Zhong

Constructor Summary
MappingAlgorithm()
           
 
Method Summary
 double instSim(java.util.Vector instSetOne, java.util.Vector instSetTwo)
           
static void main(java.lang.String[] args)
           
 double scheSim(PVSchema scheOne, PVSchema scheTwo)
          The similarity between two schema
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingAlgorithm

public MappingAlgorithm()
Method Detail

instSim

public double instSim(java.util.Vector instSetOne,
                      java.util.Vector instSetTwo)

scheSim

public double scheSim(PVSchema scheOne,
                      PVSchema scheTwo)
The similarity between two schema


main

public static void main(java.lang.String[] args)