public class ExcitationUtils
extends java.lang.Object
Constructor and Description |
---|
ExcitationUtils() |
Modifier and Type | Method and Description |
---|---|
static double |
combine(double e,
ExcitationSourceList sources,
ExcitationComponent.CombinationRule rule) |
static double |
combineWithAncestor(ModelComponent ecomp,
double excitation,
ExcitationSourceList sources,
int height,
ExcitationComponent.CombinationRule rule) |
static double |
getAncestorNetExcitation(ModelComponent comp,
int height) |
static double |
getGain(ExcitationSourceList sources,
ExcitationComponent ex) |
static ExcitationSourceList |
scan(ReaderTokenizer rtok,
java.lang.String name,
java.util.Deque<ScanToken> tokens) |
static boolean |
setGain(ExcitationSourceList sources,
ExcitationComponent ex,
double gain) |
static ExcitationSourceList |
updateReferences(ModelComponent host,
ExcitationSourceList sources,
boolean undo,
java.util.Deque<java.lang.Object> undoInfo) |
public static double getAncestorNetExcitation(ModelComponent comp, int height)
public static double combineWithAncestor(ModelComponent ecomp, double excitation, ExcitationSourceList sources, int height, ExcitationComponent.CombinationRule rule)
public static double combine(double e, ExcitationSourceList sources, ExcitationComponent.CombinationRule rule)
public static double getGain(ExcitationSourceList sources, ExcitationComponent ex)
public static boolean setGain(ExcitationSourceList sources, ExcitationComponent ex, double gain)
public static ExcitationSourceList scan(ReaderTokenizer rtok, java.lang.String name, java.util.Deque<ScanToken> tokens) throws java.io.IOException
java.io.IOException
public static ExcitationSourceList updateReferences(ModelComponent host, ExcitationSourceList sources, boolean undo, java.util.Deque<java.lang.Object> undoInfo)