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

org.protelis.vm.SpatiallyEmbeddedDevice Maven / Gradle / Ivy

There is a newer version: 17.6.0
Show newest version
/*
 * Copyright (C) 2021, Danilo Pianini and contributors listed in the project's build.gradle.kts or pom.xml file.
 *
 * This file is part of Protelis, and is distributed under the terms of the GNU General Public License,
 * with a linking exception, as described in the file LICENSE.txt in this project's top directory.
 */

package org.protelis.vm;

import org.protelis.lang.datatype.Field;

/**
 * A device embedded in space.
 *
 * @param  number type
 */
public interface SpatiallyEmbeddedDevice extends ExecutionContext {

    /**
     * Get the distance between the current device and its neighbors. Distance
     * must be positive.
     * 
     * @return field of distances
     */
    Field nbrRange();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy