package io.sigpipe.sing.graph;

public class GraphMetrics {

    private long vertices;
    private long leaves;

    public GraphMetrics() {

    }

    public GraphMetrics(int vertices, int leaves) {
        this.vertices = vertices;
        this.leaves = leaves;
    }

    public void setVertexCount(long vertices) {
        this.vertices = vertices;
    }

    public void setLeafCount(long leaves) {
        this.leaves = leaves;
    }

    public void addVertex() {
        this.vertices++;
    }

    public void addVertices(long vertices) {
        this.vertices += vertices;
    }

    public void addLeaf() {
        this.leaves++;
    }

    public void addLeaves(long leaves) {
        this.leaves += leaves;
    }

    public long getVertexCount() {
        return this.vertices;
    }

    public long getLeafCount() {
        return this.leaves;
    }
}

@@ -860,11 +860,111 @@
 s;%0A    %7D
+%0A%0A    public String toString() %7B%0A        return %22V: %22 + this.vertices + %22, L: %22 + this.leaves;%0A    %7D
 %0A%7D%0A

Add a toString() method