Documentation
¶
Index ¶
Constants ¶
View Source
const ( N uint64 = 50 M uint64 = 50 PV float64 = 0.7 // p_v )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FreqEst ¶
type FreqEst struct {
// contains filtered or unexported fields
}
func (*FreqEst) GetFreqEst ¶
type MeanDelay ¶
type MeanDelay struct {
// contains filtered or unexported fields
}
func (*MeanDelay) GetMeanDelay ¶
type MeanOWD ¶
type MeanOWD struct {
// contains filtered or unexported fields
}
func (*MeanOWD) GetMeanOwd ¶
type PacketLoss ¶
type PacketLoss struct { Losses // contains filtered or unexported fields }
func (*PacketLoss) GetPacketLoss ¶
func (pl *PacketLoss) GetPacketLoss() float64
func (*PacketLoss) SetMean ¶
func (pl *PacketLoss) SetMean(packetLoss float64)
type PathStats ¶
type PathStats struct { Skewness SkewEst Variance VarEst Freq FreqEst Loss PacketLoss MeanOwd MeanOWD MeanDelay MeanDelay PB bool }
func NewPathStats ¶
func NewPathStats(skewness SkewEst, variance VarEst, loss PacketLoss, freq FreqEst, meanOwd MeanOWD, meanDelay MeanDelay) *PathStats
newPathStats gets a new path statistics
func (*PathStats) ComputePacketLoss ¶
func (*PathStats) ComputeStatistics ¶
func (*PathStats) ComputeStatisticsBase ¶
type SkewEst ¶
type SkewEst struct { SkewBase // contains filtered or unexported fields }
func (*SkewEst) GetSkewBaseT ¶
func (*SkewEst) GetSkewEst ¶
type VarEst ¶
type VarEst struct { // n uint64 VarBase // contains filtered or unexported fields }
func (*VarEst) GetVarBaseT ¶
Click to show internal directories.
Click to hide internal directories.