Package jline.api.trace
Class Mtrace_backward_momentKt
-
- All Implemented Interfaces:
public final class Mtrace_backward_momentKt
-
-
Method Summary
Modifier and Type Method Description final static Objectmtrace_backward_moment(DoubleArray interArrivalTimes, IntArray classLabels, Integer order, Integer classIndex)Computes backward moments of a multi-class trace. final static Doublemtrace_backward_moment_conditional(DoubleArray interArrivalTimes, IntArray classLabels, Integer conditioningClass, Integer order)Computes conditional backward moments given the forward recurrence time. -
-
Method Detail
-
mtrace_backward_moment
final static Object mtrace_backward_moment(DoubleArray interArrivalTimes, IntArray classLabels, Integer order, Integer classIndex)
Computes backward moments of a multi-class trace. Backward moments characterize the time until the previous arrival.
- Parameters:
interArrivalTimes- Array of inter-arrival timesclassLabels- Array of class labels for each arrivalorder- Moment order (1 for mean, 2 for second moment, etc.classIndex- Optional specific class index (-1 for all classes)- Returns:
Backward moment(s) - single value if classIndex specified, array if all classes
-
mtrace_backward_moment_conditional
final static Double mtrace_backward_moment_conditional(DoubleArray interArrivalTimes, IntArray classLabels, Integer conditioningClass, Integer order)
Computes conditional backward moments given the forward recurrence time.
- Parameters:
interArrivalTimes- Array of inter-arrival timesclassLabels- Array of class labelsconditioningClass- Class to condition onorder- Moment order- Returns:
Conditional backward moment
-
-
-
-