class DefaultMutablePath implements MutablePath<V, E> {

    @Override
    public Path<V, E> toImmutable() {
        return new DefaultPath<>(edges, cost);
    }

    public  DefaultMutablePath();
    public  DefaultMutablePath(Path<V, E> path);

}