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 addVertices(long vertices) {
        this.vertices += vertices;
    }

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

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

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

Add general GraphMetrics class