public class Activation extends Object implements Comparable<Activation>
| Modifier and Type | Class and Description |
|---|---|
static class |
Activation.Key |
| Modifier and Type | Field and Description |
|---|---|
static double |
BACKWARD_WEIGHT |
Option |
completeOption |
TreeSet<Activation> |
directInputs |
TreeSet<Activation> |
directOutputs |
static double |
FORWARD_WEIGHT |
Option |
initialOption |
TreeSet<Activation> |
inputs |
boolean |
isRemoved |
Activation.Key |
key |
static double |
NEURON_WEIGHT |
Option |
newOption |
Set<Activation> |
outputs |
int |
removedId |
static int |
removedIdCounter |
Map<Activation.Key,Activation> |
shadowedBy |
Map<Activation.Key,Activation> |
shadows |
double |
weight |
| Constructor and Description |
|---|
Activation(Activation.Key key) |
Activation(Node n,
Range pos,
int rid,
Option o,
int fired) |
Activation(Node n,
Range pos,
int rid,
Option o,
int fired,
int id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addShadows(Activation act) |
int |
compareTo(Activation act) |
double |
computeAverageInputWeight() |
double |
computeWeight() |
static Activation |
get(Node n,
Activation.Key ak) |
static Activation |
get(Node n,
Integer rid,
Range r,
Range.Relation rr,
Option o,
Option.Relation or,
Integer fired,
Integer id,
boolean includeShadowed) |
static Activation |
get(Node n,
Range r,
Option o) |
List<int[]> |
getNonShadowedRange() |
List<int[]> |
getShadowedRange() |
void |
link(Collection<Activation> inputActs,
Set<Activation> directInputActs,
Set<Activation> outputActs,
Set<Activation> directOutputActs) |
void |
register(Iteration t) |
static List<Activation> |
select(Node n,
Integer rid,
Range r,
Range.Relation rr,
Option o,
Option.Relation or,
Option no,
Integer fired,
Integer id,
boolean includeShadowed) |
boolean |
shadows(Activation act) |
String |
toString(Document doc) |
void |
unlink() |
void |
unregister(Iteration t) |
public static double NEURON_WEIGHT
public static double FORWARD_WEIGHT
public static double BACKWARD_WEIGHT
public final Activation.Key key
public boolean isRemoved
public int removedId
public static int removedIdCounter
public double weight
public Option initialOption
public Option newOption
public Option completeOption
public Map<Activation.Key,Activation> shadows
public Map<Activation.Key,Activation> shadowedBy
public TreeSet<Activation> inputs
public TreeSet<Activation> directInputs
public Set<Activation> outputs
public TreeSet<Activation> directOutputs
public Activation(Activation.Key key)
public boolean shadows(Activation act)
public void addShadows(Activation act)
public List<int[]> getShadowedRange()
public List<int[]> getNonShadowedRange()
public void link(Collection<Activation> inputActs, Set<Activation> directInputActs, Set<Activation> outputActs, Set<Activation> directOutputActs)
public void unlink()
public double computeWeight()
public void register(Iteration t)
public void unregister(Iteration t)
public double computeAverageInputWeight()
public static Activation get(Node n, Range r, Option o)
public static Activation get(Node n, Integer rid, Range r, Range.Relation rr, Option o, Option.Relation or, Integer fired, Integer id, boolean includeShadowed)
public static Activation get(Node n, Activation.Key ak)
public static List<Activation> select(Node n, Integer rid, Range r, Range.Relation rr, Option o, Option.Relation or, Option no, Integer fired, Integer id, boolean includeShadowed)
public int compareTo(Activation act)
compareTo in interface Comparable<Activation>Copyright © 2016. All rights reserved.