fuzzydl
Class WeightedConcept

java.lang.Object
  extended by fuzzydl.WeightedConcept

public class WeightedConcept
extends java.lang.Object

Weighted concept.


Constructor Summary
WeightedConcept(double weight, Concept concept)
          Constructor.
 
Method Summary
 Concept getConcept()
          Gets the concept.
 double getWeight()
          Gets the weight.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightedConcept

public WeightedConcept(double weight,
                       Concept concept)
Constructor.

Parameters:
weight - A weight in [0,1].
concept - A fuzzy concept.
Method Detail

getConcept

public Concept getConcept()
Gets the concept.

Returns:
Concept.

getWeight

public double getWeight()
Gets the weight.

Returns:
Weight.