Class ParallelSimulationProvider
java.lang.Object
org.episteme.natural.physics.classical.mechanics.simulation.providers.ParallelSimulationProvider
- All Implemented Interfaces:
AlgorithmProvider, SimulationProvider
@AutoService(SimulationProvider.class)
public class ParallelSimulationProvider
extends Object
implements SimulationProvider
Parallel implementation of the SimulationProvider.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()intReturns the execution priority (higher is better).voidparallelExecute(List<Runnable> tasks, int threadCount) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AlgorithmProvider
description, getAlgorithmType, getMetadata, isAvailable, score, shutdown
-
Constructor Details
-
ParallelSimulationProvider
public ParallelSimulationProvider()
-
-
Method Details
-
getPriority
public int getPriority()Description copied from interface:AlgorithmProviderReturns the execution priority (higher is better).- Specified by:
getPriorityin interfaceAlgorithmProvider
-
getName
- Specified by:
getNamein interfaceAlgorithmProvider- Specified by:
getNamein interfaceSimulationProvider
-
parallelExecute
- Specified by:
parallelExecutein interfaceSimulationProvider
-