org.knime.base.node.mine.bfn.fuzzy.shrink
Class VolumeBorderBasedShrink

java.lang.Object
  extended by org.knime.base.node.mine.bfn.fuzzy.shrink.VolumeBorderBasedShrink
All Implemented Interfaces:
Shrink

public final class VolumeBorderBasedShrink
extends Object
implements Shrink

ShrinkDistanceBased. calculates the volume loss from the left or right support or core region border to the new value, divided by the support or core spread d1_i*Prod(i!=k)d2_k/Prod(k)d2_k = d1_i/d2_i.

Author:
Thomas Gabriel, University of Konstanz

Field Summary
 
Fields inherited from interface org.knime.base.node.mine.bfn.fuzzy.shrink.Shrink
SHRINK_KEY, SHRINKS
 
Method Summary
static Shrink getInstance()
           
 double leftCoreLoss(double value, MembershipFunction mem)
          leftCoreLoss(.).
 double leftSuppLoss(double value, MembershipFunction mem)
          leftSuppLoss(.).
 double rightCoreLoss(double value, MembershipFunction mem)
          rightCoreLoss(.).
 double rightSuppLoss(double value, MembershipFunction mem)
          rightSuppLoss(.).
 String toString()
          Returns the string representation VolumeBorderBased for this shrink function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static Shrink getInstance()
Returns:
a new instance of the ShrinkVolumeRuleBased object

leftSuppLoss

public double leftSuppLoss(double value,
                           MembershipFunction mem)
leftSuppLoss(.).

Specified by:
leftSuppLoss in interface Shrink
Parameters:
value - current value
mem - holds parameter of fuzzy membership function
Returns:
loss in distance assessed to the left dimension of the support

leftCoreLoss

public double leftCoreLoss(double value,
                           MembershipFunction mem)
leftCoreLoss(.).

Specified by:
leftCoreLoss in interface Shrink
Parameters:
value - current value
mem - holds parameter of fuzzy membership function
Returns:
loss in distance assessed to the core region

rightSuppLoss

public double rightSuppLoss(double value,
                            MembershipFunction mem)
rightSuppLoss(.).

Specified by:
rightSuppLoss in interface Shrink
Parameters:
value - current value
mem - holds parameter of fuzzy membership function
Returns:
loss in distance assessed to the right dimension of the support

rightCoreLoss

public double rightCoreLoss(double value,
                            MembershipFunction mem)
rightCoreLoss(.).

Specified by:
rightCoreLoss in interface Shrink
Parameters:
value - current value
mem - holds parameter of fuzzy trapezoid membership function
Returns:
loss in distance assessed to the core region

toString

public final String toString()
Returns the string representation VolumeBorderBased for this shrink function.

Overrides:
toString in class Object
Returns:
a name for this shrink


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.