com.croftsoft.core.ai.neuro.imp
Class SnapChannel
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnapChannel
public SnapChannel(double conductance,
double reversalPotential,
boolean open)
SnapChannel
public SnapChannel(double conductance,
double reversalPotential)
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 Core Javadoc (2008-09-28 20:58:02)