com.croftsoft.core.ai.neuro.imp
Class SnapChannel

java.lang.Object
  extended by com.croftsoft.core.ai.neuro.imp.SnapChannel
All Implemented Interfaces:
Channel, ChannelMut, ChannelSim, Sim

public class SnapChannel
extends Object
implements ChannelSim

Mutable Channel implementation that snaps shut when updated.

Since:
2008-07-19
Version:
$Id: SnapChannel.java,v 1.5 2008/07/25 23:32:22 croft Exp $
Author:
David Wallace Croft

Constructor Summary
SnapChannel(double conductance, double reversalPotential)
           
SnapChannel(double conductance, double reversalPotential, boolean open)
           
 
Method Summary
 void access()
           
 double getConductance()
           
 double getReversalPotential()
           
 boolean isOpen()
           
 void mutate()
           
 void setConductance(double conductance)
           
 void setOpen(boolean open)
           
 void setReversalPotential(double reversalPotential)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapChannel

public SnapChannel(double conductance,
                   double reversalPotential,
                   boolean open)

SnapChannel

public SnapChannel(double conductance,
                   double reversalPotential)
Method Detail

getConductance

public double getConductance()
Specified by:
getConductance in interface Channel

getReversalPotential

public double getReversalPotential()
Specified by:
getReversalPotential in interface Channel

isOpen

public boolean isOpen()
Specified by:
isOpen in interface Channel

setConductance

public void setConductance(double conductance)
Specified by:
setConductance in interface ChannelMut

setOpen

public void setOpen(boolean open)
Specified by:
setOpen in interface ChannelMut

setReversalPotential

public void setReversalPotential(double reversalPotential)
Specified by:
setReversalPotential in interface ChannelMut

access

public void access()
Specified by:
access in interface Sim

mutate

public void mutate()
Specified by:
mutate in interface Sim

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)