Klasse OurLogElement

java.lang.Object
logging.LogElement
OurApplication.OurLogElement

public class OurLogElement extends LogElement
This class extends logging.LogElement to provide additional functionality for logging various elements related to graph visualization.
Siehe auch:
  • Felddetails

    • value

      protected long value
      The sum up value associated with this log element.
    • vertex

      protected Vertex vertex
    • edge

      protected Edge edge
    • ourGraph

      protected Graph ourGraph
  • Konstruktordetails

    • OurLogElement

      public OurLogElement()
      Standard constructor. Initializes the log element with default values.
    • OurLogElement

      public OurLogElement(int step, String description, long value, Vertex vertex)
      Extended constructor. Initializes the log element with specified step number, description, sum up value, and vertex.
      Parameter:
      step - the step number of the log element
      description - the description of the log element
      value - the sum up value associated with the log element
      vertex - the vertex associated with the log element
    • OurLogElement

      public OurLogElement(int step, String description, long value, Edge edge)
      Extended constructor. Initializes the log element with specified step number, description, sum up value, and edge.
      Parameter:
      step - the step number of the log element
      description - the description of the log element
      value - the sum up value associated with the log element
      edge - the edge associated with the log element
    • OurLogElement

      public OurLogElement(int step, String description, long value, Graph ourGraph)
      Extended constructor. Initializes the log element with specified step number, description, sum up value, and graph.
      Parameter:
      step - the step number of the log element
      description - the description of the log element
      value - the sum up value associated with the log element
      ourGraph - the graph associated with the log element
  • Methodendetails

    • getValue

      public long getValue()
      Retrieves the sum up value associated with this log element.
      Gibt zurück:
      the sum up value of the log element
    • getEdge

      public Edge getEdge()
      Retrieves the edge associated with this log element.
      Gibt zurück:
      the edge associated with the log element
    • getVertex

      public Vertex getVertex()
      Retrieves the vertex associated with this log element.
      Gibt zurück:
      the vertex associated with the log element
    • getGraph

      public Graph getGraph()
      Retrieves the graph associated with this log element.
      Gibt zurück:
      the graph associated with the log element