All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.unibo.alchemist.model.interfaces.Layer Maven / Gradle / Ivy

There is a newer version: 20.0.1
Show newest version
package it.unibo.alchemist.model.interfaces;

import java.io.Serializable;

/**
 * 
 * Interface for static layer, containing a substance or a molecule with a spatial distribution.
 *
 * @param  the value that measure the substance in a point.
 */
@FunctionalInterface
public interface Layer extends Serializable {

    /**
     * 
     * @param p the {@link Position}.
     * @return the value in the requested {@link Position}.
     */
    T getValue(Position p);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy