public class Radial extends Sparse
Modifier and Type | Class and Description |
---|---|
class |
Radial.DensityEstimator |
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_DIST_CONST
For neurons with no polarity.
|
static double |
DEFAULT_EE_CONST |
static double |
DEFAULT_EI_CONST |
static double |
DEFAULT_IE_CONST |
static double |
DEFAULT_II_CONST |
static double |
DEFAULT_LAMBDA |
connectionDensity, DEFAULT_CONNECTION_DENSITY, DEFAULT_FF_PREF, DEFAULT_SELF_CONNECT_PREF, selfConnectionAllowed
Constructor and Description |
---|
Radial()
Default constructor
|
Radial(double lambda) |
Radial(double distConst,
double lambda) |
Radial(double eeDistConst,
double eiDistConst,
double ieDistConst,
double iiDistConst,
double lambda) |
Modifier and Type | Method and Description |
---|---|
void |
connectNeurons(SynapseGroup synGroup)
Apply connection to a synapse group using specified parameters.
|
static java.util.List<Synapse> |
connectRadialNoPolarity(java.util.List<Neuron> source,
java.util.List<Neuron> target,
double distConst,
double lambda,
boolean loose) |
static java.util.List<Synapse> |
connectRadialPolarized(java.util.List<Neuron> source,
java.util.List<Neuron> target,
double eeDistConst,
double eiDistConst,
double ieDistConst,
double iiDistConst,
double distConst,
double lambda,
boolean loose) |
double |
getDistConst() |
double |
getEeDistConst() |
double |
getEiDistConst() |
double |
getIeDistConst() |
double |
getIiDistConst() |
double |
getLambda() |
void |
setDistConst(double distConst) |
void |
setEeDistConst(double eeDistConst) |
void |
setEiDistConst(double eiDistConst) |
void |
setIeDistConst(double ieDistConst) |
void |
setIiDistConst(double iiDistConst) |
void |
setLambda(double lambda) |
java.lang.String |
toString() |
addToSparsity, connectSparse, connectSparse, getConnectionDensity, getMaxPossibleConnections, getName, getSynapseGroup, isEqualizeEfferents, isPermitDensityEditing, isSelfConnectionAllowed, randShuffleK, removeToSparsity, setConnectionDensity, setEqualizeEfferents, setPermitDensityEditing, setSelfConnectionAllowed
public static final double DEFAULT_DIST_CONST
public static final double DEFAULT_EE_CONST
public static final double DEFAULT_EI_CONST
public static final double DEFAULT_IE_CONST
public static final double DEFAULT_II_CONST
public static final double DEFAULT_LAMBDA
public Radial()
public Radial(double lambda)
lambda
- average connection distance.public Radial(double distConst, double lambda)
distConst
- the connection constant for general connections. Used in cases where neurons have no explicit polarity.lambda
- average connection distance.public Radial(double eeDistConst, double eiDistConst, double ieDistConst, double iiDistConst, double lambda)
eeDistConst
- the connection constant for connections between 2 excitatoy neuronseiDistConst
- the connection constant for connection from an excitatory to an inhibitory neuron.ieDistConst
- the connectino constant for connection from an inhibitory to an excitatory neuron.iiDistConst
- the conneciton constant for connections between 2 inhibitory neurons.lambda
- average connection distance.public static java.util.List<Synapse> connectRadialPolarized(java.util.List<Neuron> source, java.util.List<Neuron> target, double eeDistConst, double eiDistConst, double ieDistConst, double iiDistConst, double distConst, double lambda, boolean loose)
source
- the source neurons.target
- the target neurons.eeDistConst
- the connection constant for connections between 2 excitatory neurons.eiDistConst
- the connection constant for connection from an excitatory to an inhibitory neuron.ieDistConst
- the connection constant for connection from an inhibitory to an excitatory neuron.iiDistConst
- the connection constant for connections between 2 inhibitory neurons.distConst
- the connection constant for general connections. Used in cases where neurons have no explicit polarity.lambda
- average connection distance.loose
- public static java.util.List<Synapse> connectRadialNoPolarity(java.util.List<Neuron> source, java.util.List<Neuron> target, double distConst, double lambda, boolean loose)
source
- the source neuronstarget
- the target neuronsdistConst
- the connection constant for general connections. Used in cases where neurons have no explicit polarity.lambda
- average connection distance.loose
- public void connectNeurons(SynapseGroup synGroup)
connectNeurons
in interface ConnectNeurons
connectNeurons
in class Sparse
synGroup
- The synapse group that the connections this class
will generate will be added to.public double getEeDistConst()
public void setEeDistConst(double eeDistConst)
public double getEiDistConst()
public void setEiDistConst(double eiDistConst)
public double getIeDistConst()
public void setIeDistConst(double ieDistConst)
public double getIiDistConst()
public void setIiDistConst(double iiDistConst)
public double getDistConst()
public void setDistConst(double distConst)
public double getLambda()
public void setLambda(double lambda)