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

ch.ninecode.cim.CIMVD.scala Maven / Gradle / Ivy

There is a newer version: 2.12-3.0.1-5.1.1
Show newest version
package ch.ninecode.cim

import org.apache.spark.graphx.VertexId

/**
 * Smaller version of CIMVertexData for identifyNodes().
 *
 * @param node       the minimum (hash code) of equivalent ConnectivityNode (a single topological node)
 * @param node_label a user friendly label for the node
 * @param voltage    the nominal voltage of the node
 * @param container  the node container
 */
case class CIMVD (
    node: VertexId = Long.MaxValue,
    node_label: String = "",
    voltage: String = null,
    container: String = null)
{
    override def toString: String = s"$node_label:$voltage@$container"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy