-def Domain_AllValues()
-Returns the full domain Int64.
def Domain_AllValues() -> "operations_research::Domain":
- r""" Returns the full domain Int64."""
- return _sorted_interval_list.Domain_AllValues()
-
-def Domain_FromFlatIntervals(flat_intervals)
-This method is available in Python, Java and .NET. It allows building a Domain object from a flattened list of intervals (long[] in Java and .NET, [0, 2, 5, 5, 8, 10] in python).
def Domain_FromFlatIntervals(flat_intervals: 'std::vector< int64 > const &') -> "operations_research::Domain":
- r""" This method is available in Python, Java and .NET. It allows building a Domain object from a flattened list of intervals (long[] in Java and .NET, [0, 2, 5, 5, 8, 10] in python)."""
- return _sorted_interval_list.Domain_FromFlatIntervals(flat_intervals)
-
-def Domain_FromIntervals(intervals)
-This method is available in Python, Java and .NET. It allows building a Domain object from a list of intervals (long[][] in Java and .NET, [[0, 2], [5, 5], [8, 10]] in python).
def Domain_FromIntervals(intervals: 'std::vector< std::vector< int64 > > const &') -> "operations_research::Domain":
- r""" This method is available in Python, Java and .NET. It allows building a Domain object from a list of intervals (long[][] in Java and .NET, [[0, 2], [5, 5], [8, 10]] in python)."""
- return _sorted_interval_list.Domain_FromIntervals(intervals)
-
-def Domain_FromValues(values)
-Creates a domain from the union of an unsorted list of integer values. Input values may be repeated, with no consequence on the output
def Domain_FromValues(values: 'std::vector< int64 >') -> "operations_research::Domain":
- r""" Creates a domain from the union of an unsorted list of integer values. Input values may be repeated, with no consequence on the output"""
- return _sorted_interval_list.Domain_FromValues(values)
-var thisownThe membership flag
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
-
@@ -639,14 +587,6 @@ def FromValues(values: 'std::vector< int64 >') -> "operatio
diff --git a/ortools/util/python/sorted_interval_list.i b/ortools/util/python/sorted_interval_list.i
index cbc03e472e..aa5eb33897 100644
--- a/ortools/util/python/sorted_interval_list.i
+++ b/ortools/util/python/sorted_interval_list.i
@@ -22,6 +22,15 @@
#include "ortools/util/sorted_interval_list.h"
%}
+%pythonbegin %{
+__pdoc__ = {}
+__pdoc__['Domain_AllValues'] = False
+__pdoc__['Domain_FromFlatIntervals'] = False
+__pdoc__['Domain_FromIntervals'] = False
+__pdoc__['Domain_FromValues'] = False
+__pdoc__['Domain.thisown'] = False
+%}
+
%ignoreall
%unignore operations_research;