//+++++++++++++++++++++++++++++++++++++++++++++++++++++ // File automatically generated by Xfuzzy - DO NOT EDIT //+++++++++++++++++++++++++++++++++++++++++++++++++++++ package pkg.xfl.crisp; import xfuzzy.lang.*; public class delay extends CrispBlock { public delay() { super("xfl","delay"); Parameter single[] = new Parameter[0]; setSingleParameters(single); } public double compute(double[] x) { return x[0]; } public int inputs() { return 1; } public boolean test () { return true; } public String getJavaCode() { String eol = System.getProperty("line.separator", "\n"); String code = ""; code += " return x[0];"+eol; return code; } public String getCCode() { String eol = System.getProperty("line.separator", "\n"); String code = ""; code += " return x[0];"+eol; return code; } public String getCppCode() { String eol = System.getProperty("line.separator", "\n"); String code = ""; code += " return x[0];"+eol; return code; } }