jcolibri.method.reuse
Class NumericDirectProportionMethod

java.lang.Object
  extended by jcolibri.method.reuse.NumericDirectProportionMethod

public class NumericDirectProportionMethod
extends java.lang.Object

Computes the value of an attribute related to a description attribute as proportional to the actual values of these attributes in a retrieved case.

Author:
Juan A. Recio-Garcia

Constructor Summary
NumericDirectProportionMethod()
           
 
Method Summary
static void directProportion(Attribute source, Attribute destination, CBRQuery query, java.util.Collection<CBRCase> cases)
          This method computes the proportion of the values of a source attibute in a query and a case, and modifies the destination attribute in the case with that proportion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericDirectProportionMethod

public NumericDirectProportionMethod()
Method Detail

directProportion

public static void directProportion(Attribute source,
                                    Attribute destination,
                                    CBRQuery query,
                                    java.util.Collection<CBRCase> cases)
This method computes the proportion of the values of a source attibute in a query and a case, and modifies the destination attribute in the case with that proportion.


GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es