public class GenerateService extends java.lang.Object implements IGenerateService
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.IInternalAccess |
agent
The agent.
|
static IFractalAlgorithm[] |
ALGORITHMS
The available algorithms.
|
protected ServicePoolManager |
manager
The service pool manager for calculation services.
|
protected GeneratePanel |
panel
The generate panel.
|
Constructor and Description |
---|
GenerateService() |
Modifier and Type | Method and Description |
---|---|
protected jadex.commons.future.IFuture<AreaData> |
distributeWork(AreaData data)
Distribute the work to available or newly created calculation services.
|
jadex.commons.future.IFuture<AreaData> |
generateArea(AreaData data)
Generate a specific area using a defined x and y size.
|
jadex.commons.future.IFuture<java.lang.Void> |
shutdown()
Stop the service.
|
void |
start()
Create a new service.
|
public static IFractalAlgorithm[] ALGORITHMS
protected jadex.bridge.IInternalAccess agent
protected GeneratePanel panel
protected ServicePoolManager manager
public void start()
public jadex.commons.future.IFuture<java.lang.Void> shutdown()
public jadex.commons.future.IFuture<AreaData> generateArea(AreaData data)
generateArea
in interface IGenerateService