Package jline.solvers.ssa.handlers
Class Solver_ssaKt
-
- All Implemented Interfaces:
public final class Solver_ssaKt
-
-
Method Summary
Modifier and Type Method Description final static SSAValuessolver_ssa(NetworkStruct sn_in, EventCache eventCache, Map<StatefulNode, Matrix> init_state, SolverOptions options, SolverSSA solverSSA)final static Unitsave_log_dense(Double dt, Map<Integer, Matrix> cur_state, DMatrixRMaj tranStateD, Integer samples_collected, DoubleArray tranSyncData, Map<Integer, Integer> enabled_sync, Integer firing_ctr, NetworkStruct sn, Map<Integer, Matrix> nir, Map<Integer, Matrix> stateCell, DMatrixRMaj SSqD, Collector streamingCollector, Double curTime)Dense version of save_log using DMatrixRMaj for O(1) element access. final static Unitprint_progress(SolverOptions options, Integer samples_collected)final static DMatrixRMajupdate_paddings_dense(NetworkStruct sn, Map<Integer, Matrix> stateCell, Matrix statelen, DMatrixRMaj tranStateD)Dense version of update_paddings using DMatrixRMaj. -
-
Method Detail
-
solver_ssa
final static SSAValues solver_ssa(NetworkStruct sn_in, EventCache eventCache, Map<StatefulNode, Matrix> init_state, SolverOptions options, SolverSSA solverSSA)
-
save_log_dense
final static Unit save_log_dense(Double dt, Map<Integer, Matrix> cur_state, DMatrixRMaj tranStateD, Integer samples_collected, DoubleArray tranSyncData, Map<Integer, Integer> enabled_sync, Integer firing_ctr, NetworkStruct sn, Map<Integer, Matrix> nir, Map<Integer, Matrix> stateCell, DMatrixRMaj SSqD, Collector streamingCollector, Double curTime)
Dense version of save_log using DMatrixRMaj for O(1) element access.
-
print_progress
final static Unit print_progress(SolverOptions options, Integer samples_collected)
-
update_paddings_dense
final static DMatrixRMaj update_paddings_dense(NetworkStruct sn, Map<Integer, Matrix> stateCell, Matrix statelen, DMatrixRMaj tranStateD)
Dense version of update_paddings using DMatrixRMaj. When state vectors grow (e.g., FCFS buffers), pad with zeros by creating a new larger matrix.
-
-
-
-