Java-Action-Shape is an open-source Java extension for the LightJason multi-agent system, delivering a comprehensive set of actions for creating, transforming, and analyzing geometric shapes within agent plans. It supports defining standard shapes like circles, rectangles, and polygons, applies transformations such as scaling, translation, and rotation, and computes properties like area and perimeter. Seamlessly integrated into LightJason workflows, it accelerates development of agent-driven simulations and geometry-based applications.
Java-Action-Shape is an open-source Java extension for the LightJason multi-agent system, delivering a comprehensive set of actions for creating, transforming, and analyzing geometric shapes within agent plans. It supports defining standard shapes like circles, rectangles, and polygons, applies transformations such as scaling, translation, and rotation, and computes properties like area and perimeter. Seamlessly integrated into LightJason workflows, it accelerates development of agent-driven simulations and geometry-based applications.
Java-Action-Shape is a dedicated action library designed to extend the LightJason multi-agent framework with advanced geometric capabilities. It provides agents with out-of-the-box actions to instantiate common shapes (circle, rectangle, polygon), apply transformations (translate, rotate, scale), and perform analytical computations (area, perimeter, centroid). Each action is thread-safe and integrates with LightJason’s asynchronous execution model, ensuring efficient parallel processing. Developers can define custom shapes by specifying vertices and edges, register them within the agent’s action registry, and include them in plan definitions. By centralizing shape-related logic, Java-Action-Shape reduces boilerplate code, enforces consistent APIs, and accelerates the creation of geometry-driven agent applications, from simulations to educational tools.
Who will use Java-Action-Shape?
Java developers
Multi-agent system researchers
AI educators
Simulation engineers
Robotics developers
How to use the Java-Action-Shape?
Step1: Include Java-Action-Shape as a dependency in your Maven or Gradle project.
Step2: Import com.lightjason.action.shape package in your Java class.
Step3: Initialize the LightJason agent and register the ShapeAction modules.
Step4: Use predefined actions like createCircle, rotateShape, or computeArea within your agent plan.
Step5: Execute your agent and observe geometric operations in your simulation environment.
Platform
mac
windows
linux
Java-Action-Shape's Core Features & Benefits
The Core Features
Create standard shapes (circle, rectangle, polygon)