Class CrossSection<A,T>
java.lang.Object
microsim.dev.statistics.CrossSection<A,T>
-
Constructor Summary
ConstructorsConstructorDescriptionCrossSection(Supplier<? extends Collection<? extends A>> source, Function<? super A, ? extends T> getObservable) -
Method Summary
Modifier and TypeMethodDescriptionget()Get the cross-section.once()Wrap theCrossSectionin aOncecache.oncePerSimTime(SimulationEngine engine) Wrap theCrossSectionin aOnceUntilcache that checks when the simulation time changes.
-
Constructor Details
-
CrossSection
-
-
Method Details
-
get
-
once
Wrap theCrossSectionin aOncecache. -
oncePerSimTime
Wrap theCrossSectionin aOnceUntilcache that checks when the simulation time changes.
-