All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.daisy.common.fuzzy.FuzzyVariable Maven / Gradle / Ivy

There is a newer version: 6.1.0
Show newest version
package org.daisy.common.fuzzy;

import java.util.LinkedList;
import java.util.List;


/**
 * A fuzzy variable is just a group of fuzzy sets
 */
public final class FuzzyVariable {

        /**
         * The list of sets
         */
        final List sets=new LinkedList();
      
        /**
         * Adds a new fuzzy set to this variable
         * @param set
         * @return
         */
        final public FuzzyVariable add(FuzzySet set){
                this.sets.add(set);
                return this;
        }
        
        /**
         * Returns iterable of this variable sets
         *
         * @return
         */
        final public Iterable getSets(){
                return this.sets;
        }

 

                
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy