class GeometricVertex extends VertexImpl<IntegerTensor, IntegerVertex> implements IntegerVertex, ProbabilisticInteger, SamplableWithManyScalars<IntegerTensor>, LogProbGraphSupplier {

    @Override
    public double logProb(IntegerTensor value) {
        return Geometric.withParameters(p.getValue()).logProb(value).sumNumber();
    }

    public  GeometricVertex(@LoadShape long[] tensorShape,
                           @LoadVertexParam(P_NAME) Vertex<DoubleTensor, ?> p);
    public  GeometricVertex(long[] tensorShape, double p);
    @ExportVertexToPythonBindings public  GeometricVertex(Vertex<DoubleTensor, ?> p);
    public  GeometricVertex(double p);

}