public DisjointRangeDomainHistogram addConjunction(StatisticRange other)
    {
        return new DisjointRangeDomainHistogram(source, rangeSet.get().subRangeSet(other.toRange()).asRanges());
    }
@Test
    public void testAddConjunction()
    {
        ConnectorHistogram source = new UniformDistributionHistogram(0, 100);
        DisjointRangeDomainHistogram constrained = disjunction(source, Range.open(10d, 90d));
        assertEquals(constrained.getRanges().size(), 1);
        assertEquals(ranges(constrained).get(0), Range.open(10d, 90d));
        constrained = conjunction(constrained, Range.atMost(50d));
        assertEquals(ranges(constrained).size(), 1);
        assertEquals(ranges(constrained).get(0), Range.openClosed(10d, 50d));
        constrained = conjunction(constrained, Range.atLeast(25d));
        assertEquals(ranges(constrained).size(), 1);
        assertEquals(ranges(constrained).get(0), Range.closed(25d, 50d));
    }