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

com.fuzzylite.factory.ActivationFactory Maven / Gradle / Ivy

Go to download

jfuzzylite(TM) is a free and open-source fuzzy logic control library programmed in Java. The goal of jfuzzylite is to easily design and efficiently operate fuzzy logic controllers following an object-oriented model without relying on external libraries. jfuzzylite is the Java equivalent of the fuzzylite(R) library. jfuzzylite is a trademark of FuzzyLite Limited. fuzzylite is a registered trademark of FuzzyLite Limited.

The newest version!
/*
 jfuzzylite (TM), a fuzzy logic control library in Java.
 Copyright (C) 2010-2017 FuzzyLite Limited. All rights reserved.
 Author: Juan Rada-Vilela, Ph.D. 

 This file is part of jfuzzylite.

 jfuzzylite is free software: you can redistribute it and/or modify it under
 the terms of the FuzzyLite License included with the software.

 You should have received a copy of the FuzzyLite License along with
 jfuzzylite. If not, see .

 jfuzzylite is a trademark of FuzzyLite Limited.
 fuzzylite (R) is a registered trademark of FuzzyLite Limited.
 */
package com.fuzzylite.factory;

import com.fuzzylite.activation.Activation;
import com.fuzzylite.activation.First;
import com.fuzzylite.activation.General;
import com.fuzzylite.activation.Highest;
import com.fuzzylite.activation.Last;
import com.fuzzylite.activation.Lowest;
import com.fuzzylite.activation.Proportional;
import com.fuzzylite.activation.Threshold;

/**
 The ActivationFactory class is a ConstructionFactory of Activation methods for
 RuleBlock%s.

 @author Juan Rada-Vilela, Ph.D.
 @see Activation
 @see RuleBlock
 @see ConstructionFactory
 @see FactoryManager
 @since 6.0
 */
public class ActivationFactory extends ConstructionFactory {

    public ActivationFactory() {
        register("", null);
        register(First.class);
        register(General.class);
        register(Highest.class);
        register(Last.class);
        register(Lowest.class);
        register(Proportional.class);
        register(Threshold.class);
    }

    @Override
    public ActivationFactory clone() throws CloneNotSupportedException {
        return (ActivationFactory) super.clone();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy