public static interface RouterOuterClass.AprioriParametersOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
double |
getCapacityFraction()
The fraction of a channel's capacity that we consider to have liquidity.
|
long |
getHalfLifeSeconds()
The amount of time mission control will take to restore a penalized node
or channel back to 50% success probability, expressed in seconds.
|
double |
getHopProbability()
The probability of success mission control should assign to hop in a route
where it has no other information available.
|
double |
getWeight()
The importance that mission control should place on historical results,
expressed as a value in [0;1].
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getHalfLifeSeconds()
The amount of time mission control will take to restore a penalized node or channel back to 50% success probability, expressed in seconds. Setting this value to a higher value will penalize failures for longer, making mission control less likely to route through nodes and channels that we have previously recorded failures for.
uint64 half_life_seconds = 1;
double getHopProbability()
The probability of success mission control should assign to hop in a route where it has no other information available. Higher values will make mission control more willing to try hops that we have no information about, lower values will discourage trying these hops.
double hop_probability = 2;
double getWeight()
The importance that mission control should place on historical results, expressed as a value in [0;1]. Setting this value to 1 will ignore all historical payments and just use the hop probability to assess the probability of success for each hop. A zero value ignores hop probability completely and relies entirely on historical results, unless none are available.
double weight = 3;
double getCapacityFraction()
The fraction of a channel's capacity that we consider to have liquidity. For amounts that come close to or exceed the fraction, an additional penalty is applied. A value of 1.0 disables the capacity factor. Allowed values are in [0.75, 1.0].
double capacity_fraction = 4;