Package it. unibo. alchemist. model. implementations. environments
Types
Link copied to clipboard
abstract class Abstract2DEnvironment<T, P : Position2D<P>?> : AbstractEnvironment<T, P>
Content copied to clipboard
Models a bidimensional environment.
Link copied to clipboard
abstract class AbstractEnvironment<T, P : Position<P>?> : Environment<T, P>
Content copied to clipboard
Very generic and basic implementation for an environment.
Link copied to clipboard
Link copied to clipboard
class BioRect2DEnvironmentNoOverlap : BioRect2DEnvironment, EnvironmentSupportingDeformableCells<Euclidean2DPosition>
Content copied to clipboard
Implements a limited environment supporting cells with a defined shape, avoiding any overlapping among them.
Link copied to clipboard
open class Continuous2DEnvironment<T>(incarnation: Incarnation<T, Euclidean2DPosition>) : Abstract2DEnvironment<T, Euclidean2DPosition> , Euclidean2DEnvironment<T> , Physics2DEnvironment<T>
Content copied to clipboard
Implementation of Physics2DEnvironment.
Link copied to clipboard
open class Continuous2DObstacles<T> : LimitedContinuos2D<T> , EuclideanPhysics2DEnvironmentWithObstacles<RectObstacle2D<Euclidean2DPosition>, T>
Content copied to clipboard
Link copied to clipboard
This environment loads an image from the file system, and marks as obstacles all the pixels of a given color.
Link copied to clipboard
class ImageEnvironmentWithGraph<T> @JvmOverloads constructor(incarnation: Incarnation<T, Euclidean2DPosition>, path: String, zoom: Double, dx: Double, dy: Double, obstaclesColor: Int, roomsColor: Int) : ImageEnvironment<T> , EuclideanPhysics2DEnvironmentWithGraph<RectObstacle2D<Euclidean2DPosition>, T, ConvexPolygon, Euclidean2DPassage>
Content copied to clipboard
An ImageEnvironment providing an Euclidean2DNavigationGraph. The NaviGator algorithm is used to produce such graph (see generateNavigationGraph). The positions where to plant initial seeds should be specified directly in the image, marking each area of the environment with one or more pixels of a given color (defaults to blue).
Link copied to clipboard
Link copied to clipboard
This class represents a 2D continuous environment with spatial limitations.
Link copied to clipboard
Link copied to clipboard
class OSMEnvironment<T> : Abstract2DEnvironment<T, GeoPosition> , MapEnvironment<T, GraphHopperOptions, GraphHopperRoutingService>
Content copied to clipboard
This class serves as template for more specific implementations of environments using a map.