Class ImageEnvironmentWithGraph

  • All Implemented Interfaces:
    it.unibo.alchemist.model.Environment , it.unibo.alchemist.model.EnvironmentWithObstacles , it.unibo.alchemist.model.EuclideanEnvironment , it.unibo.alchemist.model.environments.Environment2DWithObstacles , it.unibo.alchemist.model.environments.EnvironmentWithGraph , it.unibo.alchemist.model.environments.Euclidean2DEnvironment , it.unibo.alchemist.model.environments.Euclidean2DEnvironmentWithGraph , it.unibo.alchemist.model.environments.Euclidean2DEnvironmentWithObstacles , it.unibo.alchemist.model.physics.PhysicsEnvironment , it.unibo.alchemist.model.physics.environments.EuclideanPhysics2DEnvironmentWithGraph , it.unibo.alchemist.model.physics.environments.EuclideanPhysics2DEnvironmentWithObstacles , it.unibo.alchemist.model.physics.environments.Physics2DEnvironment , it.unibo.alchemist.model.physics.environments.PhysicsEnvironmentWithObstacles , java.io.Serializable , kotlin.collections.Iterable , kotlin.collections.MutableIterable

    
    public final class ImageEnvironmentWithGraph<T extends Object>
    extends ImageEnvironment<T> implements EuclideanPhysics2DEnvironmentWithGraph<RectObstacle2D<Euclidean2DPosition>, T, ConvexPolygon, Euclidean2DPassage>
                        

    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).