Class ClosenessValue

  • All Implemented Interfaces:
    java.lang.Comparable<org.apache.hugegraph.computer.core.graph.value.Value>, org.apache.hugegraph.computer.core.graph.value.Value, org.apache.hugegraph.computer.core.io.Readable, org.apache.hugegraph.computer.core.io.Writable

    public class ClosenessValue
    extends org.apache.hugegraph.computer.core.graph.value.MapValue<org.apache.hugegraph.computer.core.graph.value.DoubleValue>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.hugegraph.computer.core.graph.value.Value

        org.apache.hugegraph.computer.core.graph.value.Value.CustomizeValue<T extends java.lang.Object>, org.apache.hugegraph.computer.core.graph.value.Value.Tvalue<T extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      ClosenessValue()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String string()  
      java.lang.Double value()  
      • Methods inherited from class org.apache.hugegraph.computer.core.graph.value.MapValue

        assign, compareTo, copy, elemType, entrySet, get, put, read, read, valueType, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.hugegraph.computer.core.graph.value.Value

        checkAssign, isNumber
    • Constructor Detail

      • ClosenessValue

        public ClosenessValue()
    • Method Detail

      • value

        public java.lang.Double value()
        Specified by:
        value in interface org.apache.hugegraph.computer.core.graph.value.Value
        Overrides:
        value in class org.apache.hugegraph.computer.core.graph.value.MapValue<org.apache.hugegraph.computer.core.graph.value.DoubleValue>
      • string

        public java.lang.String string()
        Specified by:
        string in interface org.apache.hugegraph.computer.core.graph.value.Value
        Overrides:
        string in class org.apache.hugegraph.computer.core.graph.value.MapValue<org.apache.hugegraph.computer.core.graph.value.DoubleValue>