/*
* Copyright 2011 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.drools.chance.degree.fuzzyNumbers;
import org.drools.chance.degree.Degree;
import org.drools.chance.degree.interval.IntervalDegree;
import org.drools.chance.degree.simple.SimpleDegree;
/**
* TODO
*
* Models a (simple) degree using a fuzzy number instead of a double
* *
*/
public class FuzzyNumberDegree implements Degree {
public Degree False() {
// TODO Auto-generated method stub
return null;
}
public Degree True() {
// TODO Auto-generated method stub
return null;
}
public Degree Unknown() {
// TODO Auto-generated method stub
return null;
}
public Degree sum(Degree sum) {
//TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public Degree mul(Degree mul) {
//TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public Degree div(Degree div) {
//TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public Degree sub(Degree sub) {
//TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public Degree max(Degree comp) {
//TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public Degree min(Degree comp) {
//TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public Degree fromConst(double number) {
//TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public Degree fromString(String number) {
//TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public IntervalDegree asIntervalDegree() {
// TODO Auto-generated method stub
return null;
}
public SimpleDegree asSimpleDegree() {
// TODO Auto-generated method stub
return null;
}
public double getConfidence() {
// TODO Auto-generated method stub
return 0;
}
public double getValue() {
// TODO Auto-generated method stub
return 0;
}
public void setValue(double d) {
//To change body of implemented methods use File | Settings | File Templates.
}
public boolean toBoolean() {
// TODO Auto-generated method stub
return false;
}
public int compareTo(Degree o) {
// TODO Auto-generated method stub
return 0;
}
public Degree fromBoolean(boolean val) {
return fromBooleanLiteral( val );
}
public static Degree fromBooleanLiteral( boolean val ) {
return val ? TRUE : FALSE;
}
public static FuzzyNumberDegree TRUE = null;
public static FuzzyNumberDegree FALSE = null;
}