Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## pf.enigne.implementations.descriptive
Class DescriptiveEngine

    java.lang.Object
      pf.enigne.implementations.descriptive.DescriptiveEngine

All Implemented Interfaces:
  IEngine

    public class DescriptiveEngine

extends java.lang.Object
implements IEngine

Author:
  Rodrigo.Amorim

Field Summary
`private DescriptiveMatcher` | `descriptiveMatcher` A FunctionalMatcher object.
`private InputManager` | `inputManager` An InputManager object.
`private java.util.ArrayList<SimilarityDegree>` | `resultInputs` Array of correspondences of the input parameters.
`private java.util.ArrayList<SimilarityDegree>` | `resultOutputs` Array of correspondences of the output parameters.
`private double` | `threshold` This variable represents the threshold required by the user.

Constructor Summary
`DescriptiveEngine(java.lang.String[] args, double basicCoefficient, double structuralCoefficient, double ancestorCoefficient, double immediateChldCoefficient, double leafCoefficient, double siblingCoefficient, double threshold, java.lang.String fileName)`
Constructor default of the class.

Method Summary
`void` | `classifyResults(Service service, Query request)` Method that classifies the obtained results.
`java.util.ArrayList<SimilarityDegree>` | `getResultInputs()`
`java.util.ArrayList<SimilarityDegree>` | `getResultOutputs()`
`private void` | `removeDualCorrespondences(java.util.ArrayList<SimilarityDegree> result, char parameters)` Method that removes dual correspondences of parameters in the match.
`private double` | `returnLevelMatching(java.util.ArrayList<SimilarityDegree> resultInput, java.util.ArrayList<SimilarityDegree> resultOutput)` Method that return the smallest degree of match between input and output parameters.
`void` | `setResultInputs(java.util.ArrayList<SimilarityDegree> resultInputs)`
`void` | `setResultOutputs(java.util.ArrayList<SimilarityDegree> resultOutputs)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### threshold

    private double threshold

  This variable represents the threshold required by the user.

### resultInputs

    private java.util.ArrayList<SimilarityDegree> resultInputs

  Array of correspondences of the input parameters.

### resultOutputs

    private java.util.ArrayList<SimilarityDegree> resultOutputs

  Array of correspondences of the output parameters.

### inputManager

    private InputManager inputManager

  An InputManager object.

### descriptiveMatcher

    private DescriptiveMatcher descriptiveMatcher

  A FunctionalMatcher object.

Constructor Detail

### DescriptiveEngine

    public DescriptiveEngine(java.lang.String[] args,
                             double basicCoefficient,
                             double structuralCoefficient,
                             double ancestorCoefficient,
                             double immediateChldCoefficient,
                             double leafCoefficient,
                             double siblingCoefficient,
                             double threshold,
                             java.lang.String fileName)

  Constructor default of the class.

  Parameters:
    `args` - - An array of arguments.

Method Detail

### removeDualCorrespondences

    private void removeDualCorrespondences(java.util.ArrayList<SimilarityDegree> result,
                                           char parameters)

  Method that removes dual correspondences of parameters in the match.

  Parameters:
    `result` - - An ArrayList of correspondences.

### classifyResults

    public void classifyResults(Service service,
                                Query request)

  Method that classifies the obtained results.

  Specified by:
    `classifyResults` in interface `IEngine`
  Parameters:
    `services` - - A service
    `request` - - A request

### returnLevelMatching

    private double returnLevelMatching(java.util.ArrayList<SimilarityDegree> resultInput,
                                       java.util.ArrayList<SimilarityDegree> resultOutput)

  Method that return the smallest degree of match between input and output parameters.

  Parameters:
    `resultInput` - - An ArrayList with correspondences of input parameters.
    `resultOutput` - - An ArrayList with correspondences of output parameters.
  Returns:
    levelMatching - Smallest degree of match.

### getResultInputs

    public java.util.ArrayList<SimilarityDegree> getResultInputs()

  Returns:
    the resultInputs.

### setResultInputs

    public void setResultInputs(java.util.ArrayList<SimilarityDegree> resultInputs)

  Parameters:
    `resultInputs` - the resultInputs to set.

### getResultOutputs

    public java.util.ArrayList<SimilarityDegree> getResultOutputs()

  Returns:
    the resultOutputs.

### setResultOutputs

    public void setResultOutputs(java.util.ArrayList<SimilarityDegree> resultOutputs)

  Parameters:
    `resultOutputs` - the resultOutputs to set.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD