org.knime.base.node.mine.bfn.fuzzy.membership
Class TriangleMembershipFunction

java.lang.Object
  extended by org.knime.base.node.mine.bfn.fuzzy.membership.MembershipFunction
      extended by org.knime.base.node.mine.bfn.fuzzy.membership.TriangleMembershipFunction

public final class TriangleMembershipFunction
extends MembershipFunction

Triangle membership function with three values core/anchor and support-left and -right whereby the support region can be defined infinity at the beginning. If the anchor's value is changed, the support-region is adjusted if necessary, but not the other way around.

Author:
Thomas Gabriel, University of Konstanz

Field Summary
 
Fields inherited from class org.knime.base.node.mine.bfn.fuzzy.membership.MembershipFunction
MAX_FLAG, MIN_FLAG
 
Constructor Summary
TriangleMembershipFunction(DoubleValue anchor, MutableDouble min, MutableDouble max)
          Creates a new triangle membership function with its given anchor and two values used to assign the min and max border.
 
Method Summary
 void resetCore()
          We don't have a real core for triangle membership functions.
 void setCoreLeft(double value)
          We don't have a real core for triangle membership functions.
 void setCoreRight(double value)
          We don't have a real core for triangle membership functions.
 
Methods inherited from class org.knime.base.node.mine.bfn.fuzzy.membership.MembershipFunction
createFuzzyIntervalCell, getActivation, getAnchor, getCenterOfGravity, getCore, getMax, getMaxCore, getMaxSupport, getMin, getMinCore, getMinSupport, getSupport, isMissingIntern, isSuppLeftMax, isSuppRightMax, repairMinMax, save, setAnchor, setSuppLeft, setSuppRight, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TriangleMembershipFunction

public TriangleMembershipFunction(DoubleValue anchor,
                                  MutableDouble min,
                                  MutableDouble max)
Creates a new triangle membership function with its given anchor and two values used to assign the min and max border.

Parameters:
anchor - the initial center point of this fuzzy function
min - the minimum left border
max - the maximum right border
Method Detail

setCoreLeft

public void setCoreLeft(double value)
We don't have a real core for triangle membership functions.

Overrides:
setCoreLeft in class MembershipFunction
Parameters:
value - not used

resetCore

public void resetCore()
We don't have a real core for triangle membership functions.

Overrides:
resetCore in class MembershipFunction

setCoreRight

public void setCoreRight(double value)
We don't have a real core for triangle membership functions.

Overrides:
setCoreRight in class MembershipFunction
Parameters:
value - not used


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.