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

rinde.sim.core.graph.ConnectionData Maven / Gradle / Ivy

There is a newer version: 4.4.6
Show newest version
package rinde.sim.core.graph;

/**
 * Simple interface to represent data associated to a {@link Connection} in a
 * {@link Graph}.
 * @author Bartosz Michalik 
 * @author Rinde van Lon 
 * @since 2.0
 */
public interface ConnectionData {

  /**
   * This method can be implemented to override the default length (euclidean
   * distance).
   * @return The length of the {@link Connection}.
   */
  double getLength();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy