Package jadex.micro.examples.mandelbrot
Class CalculateService
- java.lang.Object
-
- jadex.micro.examples.mandelbrot.CalculateService
-
- All Implemented Interfaces:
ICalculateService
public class CalculateService extends java.lang.Object implements ICalculateService
Calculate service implementation.
-
-
Field Summary
Fields Modifier and Type Field Description protected CalculateAgent
agent
The agent.
-
Constructor Summary
Constructors Constructor Description CalculateService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<AreaData>
calculateArea(AreaData data)
Calculate colors for an area of points.
-
-
-
Field Detail
-
agent
protected CalculateAgent agent
The agent.
-
-
Method Detail
-
calculateArea
public IFuture<AreaData> calculateArea(AreaData data)
Calculate colors for an area of points.- Specified by:
calculateArea
in interfaceICalculateService
- Parameters:
data
- The area to be calculated.- Returns:
- A future containing the calculated area.
-
-