complexMapping
Class ComplexMapping

java.lang.Object
  extended by complexMapping.ComplexMapping

public class ComplexMapping
extends java.lang.Object

Author:
Dominique Ritze Create the complex mapping, print the correspondences and write the alignment.

Constructor Summary
ComplexMapping(java.lang.String filepath1, java.lang.String filepath2, java.lang.String alignmentPath)
          Constructor to get all important files and to edit the settings.
ComplexMapping(java.lang.String filepath1, java.lang.String filepath2, java.lang.String alignmentPath, java.lang.String writePath)
          Constructor (if alignment should be written into a file) to get all important files and to edit the settings.
 
Method Summary
 void createAlignment()
          Print the correspondences and write the alignment (if desired).
static void main(java.lang.String[] args)
          Main method for creating an alignment containing complex correspondences.
 void writeAlignment(java.lang.String writePath)
          Write the alignment into a file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplexMapping

public ComplexMapping(java.lang.String filepath1,
                      java.lang.String filepath2,
                      java.lang.String alignmentPath,
                      java.lang.String writePath)
               throws ComplexMappingException
Constructor (if alignment should be written into a file) to get all important files and to edit the settings.

Parameters:
filepath1 -
filepath2 -
alignmentPath -
writePath -
Throws:
ComplexMappingException

ComplexMapping

public ComplexMapping(java.lang.String filepath1,
                      java.lang.String filepath2,
                      java.lang.String alignmentPath)
               throws ComplexMappingException
Constructor to get all important files and to edit the settings.

Parameters:
filepath1 -
filepath2 -
alignmentPath -
Throws:
ComplexMappingException
Method Detail

main

public static void main(java.lang.String[] args)
                 throws ComplexMappingException
Main method for creating an alignment containing complex correspondences. The first two parameters (required) are the paths to both ontologies regardless of the order. Third parameter (required) is the path to the conventional alignment. Last parameter (optional) is the path to the file in which the alignment should be written.

Parameters:
args -
Throws:
ComplexMappingException

createAlignment

public void createAlignment()
                     throws ComplexMappingException
Print the correspondences and write the alignment (if desired).

Throws:
ComplexMappingException

writeAlignment

public void writeAlignment(java.lang.String writePath)
                    throws ComplexMappingException
Write the alignment into a file.

Parameters:
writePath -
Throws:
ComplexMappingException