Uses of Class
jline.api.cache.CacheSojourn.Clock
Packages that use CacheSojourn.Clock
-
Uses of CacheSojourn.Clock in jline.api.cache
Methods in jline.api.cache that return CacheSojourn.ClockModifier and TypeMethodDescriptionstatic CacheSojourn.ClockCacheSojourn.holdingClock(Matrix D0in, Matrix D1in, double lam) The holding-time clock of a random-environment stage whose holding time is the MAP {D0,D1}, in a drift time unit that islamtimes real time:A = D0/lam,c = -D0 1/lam,phi0 = map_pie, so thatint_0^T g = F(T/lam)with F the holding-time CDF.Methods in jline.api.cache with parameters of type CacheSojourn.ClockModifier and TypeMethodDescriptionstatic CacheSojourn.ResultCacheSojourn.average(CacheSojourn.Drift f, double[] x0, double t1, CacheSojourn.Clock clk) Integrates the augmented system over [0, t1] fromx0and returns the clock-weighted average, with the MATLAB cache_miss_rmf tolerances (AbsTol 1e-10, RelTol 1e-8).static CacheMissRmfTranResultCache_miss_fifo_rmf.cache_miss_fifo_rmf_tran(Matrix gamma, Matrix m, Matrix[] lambdaCache, double time, int nPoints, double[] xinit, Matrix[][] accost, CacheSojourn.Clock clk) As above, and with a non-nullclkalso the grid-independent average of the transient against that clock (CacheMissRmfTranResult.sojourn).static CacheMissRmfTranResultCache_miss_rmf.cache_miss_rmf_tran(Matrix gamma, Matrix m, Matrix[] lambdaCache, double[] tspan, double[] xinit, Matrix[][] accost, CacheSojourn.Clock clk) MATLAB-style transient:tspan = [t0, t1]integrated with adaptive output (or a longertspanreturned at exactly those instants), viaCacheSojourn.cache_sojourn_ode(jline.api.cache.CacheSojourn.Drift, double[], double[], jline.api.cache.CacheSojourn.Clock)with the same drift the fixed point uses and the MATLABodeset('AbsTol',1e-10,'RelTol',1e-8).static CacheMissRmfTranResultCache_miss_rmf.cache_miss_rmf_tran(Matrix gamma, Matrix m, Matrix[] lambdaCache, double time, int nPoints, double[] xinit, CacheSojourn.Clock clk) As above, and with a non-nullclkalso the grid-independent average of the transient against that clock (CacheMissRmfTranResult.sojourn).static CacheMissRmfTranResultCache_miss_rmf.cache_miss_rmf_tran(Matrix gamma, Matrix m, Matrix[] lambdaCache, double time, int nPoints, double[] xinit, Matrix[][] accost, CacheSojourn.Clock clk) As above, honouring the access graphaccost([user][item], null for the linear chain): the transient then follows the general drift the graph's fixed point is taken on, as inCache_miss_rmf.cache_miss_rmf(Matrix, Matrix, Matrix[], Matrix[][]).static CacheMissRmfTranResultCache_miss_sfifo_rmf.cache_miss_sfifo_rmf_tran(Matrix gamma, Matrix m, Matrix[] lambdaCache, double time, int nPoints, double[] xinit, Matrix[][] accost, CacheSojourn.Clock clk) As above, and with a non-nullclkalso the grid-independent average of the transient against that clock (CacheMissRmfTranResult.sojourn).static CacheSojourn.OdeResultCacheSojourn.cache_sojourn_ode(CacheSojourn.Drift f, double[] tspan, double[] x0, CacheSojourn.Clock clk) Java twin of MATLABcache_sojourn_ode(drift, tspan, x0, wgen, odeopt)with theode15sdefault tolerances (RelTol 1e-3, AbsTol 1e-6).static CacheSojourn.OdeResultCacheSojourn.cache_sojourn_ode(CacheSojourn.Drift f, double[] tspan, double[] x0, CacheSojourn.Clock clk, double relTol, double absTol) Integratesdx/dt = f(x)overtspanfromx0and, whenclkis given, the clock-weighted average of the trajectory carried as extra state (phi, int g x, int g), so that it is accurate to the ODE tolerance and independent of the output grid.