samples/apifest1/day2/pinbasedsolution/src/org/netbeans/apifest/boolcircuit/Function.java
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:52:45 +0200
changeset 52 4257f4cf226b
child 59 02e05defc6a0
permissions -rw-r--r--
Adding samples from API fest to the repository, including pieces of their code in the document, not just links
jtulach@52
     1
/*
jtulach@52
     2
 * Function.java
jtulach@52
     3
 *
jtulach@52
     4
 * Created on 13. Ĩervenec 2006, 14:40
jtulach@52
     5
 *
jtulach@52
     6
 * To change this template, choose Tools | Template Manager
jtulach@52
     7
 * and open the template in the editor.
jtulach@52
     8
 */
jtulach@52
     9
jtulach@52
    10
package org.netbeans.apifest.boolcircuit;
jtulach@52
    11
jtulach@52
    12
/**
jtulach@52
    13
 * An abstract transfer function of a gate.
jtulach@52
    14
 * @author nenik
jtulach@52
    15
 */
jtulach@52
    16
public abstract class Function {
jtulach@52
    17
    
jtulach@52
    18
    public abstract double evaluate(double input1, double input2);
jtulach@52
    19
}