# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
    raise RuntimeError("Python 2.7 or later required")

from . import _RNAblueprint

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "thisown":
            self.this.own(value)
        elif name == "this":
            set(self, name, value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)



__version__ = '1.3.1'

class SwigPyIterator(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _RNAblueprint.delete_SwigPyIterator

    def value(self) -> "PyObject *":
        return _RNAblueprint.SwigPyIterator_value(self)

    def incr(self, n: "size_t"=1) -> "swig::SwigPyIterator *":
        return _RNAblueprint.SwigPyIterator_incr(self, n)

    def decr(self, n: "size_t"=1) -> "swig::SwigPyIterator *":
        return _RNAblueprint.SwigPyIterator_decr(self, n)

    def distance(self, x: "SwigPyIterator") -> "ptrdiff_t":
        return _RNAblueprint.SwigPyIterator_distance(self, x)

    def equal(self, x: "SwigPyIterator") -> "bool":
        return _RNAblueprint.SwigPyIterator_equal(self, x)

    def copy(self) -> "swig::SwigPyIterator *":
        return _RNAblueprint.SwigPyIterator_copy(self)

    def next(self) -> "PyObject *":
        return _RNAblueprint.SwigPyIterator_next(self)

    def __next__(self) -> "PyObject *":
        return _RNAblueprint.SwigPyIterator___next__(self)

    def previous(self) -> "PyObject *":
        return _RNAblueprint.SwigPyIterator_previous(self)

    def advance(self, n: "ptrdiff_t") -> "swig::SwigPyIterator *":
        return _RNAblueprint.SwigPyIterator_advance(self, n)

    def __eq__(self, x: "SwigPyIterator") -> "bool":
        return _RNAblueprint.SwigPyIterator___eq__(self, x)

    def __ne__(self, x: "SwigPyIterator") -> "bool":
        return _RNAblueprint.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n: "ptrdiff_t") -> "swig::SwigPyIterator &":
        return _RNAblueprint.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n: "ptrdiff_t") -> "swig::SwigPyIterator &":
        return _RNAblueprint.SwigPyIterator___isub__(self, n)

    def __add__(self, n: "ptrdiff_t") -> "swig::SwigPyIterator *":
        return _RNAblueprint.SwigPyIterator___add__(self, n)

    def __sub__(self, *args) -> "ptrdiff_t":
        return _RNAblueprint.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self

# Register SwigPyIterator in _RNAblueprint:
_RNAblueprint.SwigPyIterator_swigregister(SwigPyIterator)

class StringVector(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def iterator(self) -> "swig::SwigPyIterator *":
        return _RNAblueprint.StringVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self) -> "bool":
        return _RNAblueprint.StringVector___nonzero__(self)

    def __bool__(self) -> "bool":
        return _RNAblueprint.StringVector___bool__(self)

    def __len__(self) -> "std::vector< std::string >::size_type":
        return _RNAblueprint.StringVector___len__(self)

    def __getslice__(self, i: "std::vector< std::string >::difference_type", j: "std::vector< std::string >::difference_type") -> "std::vector< std::string,std::allocator< std::string > > *":
        return _RNAblueprint.StringVector___getslice__(self, i, j)

    def __setslice__(self, *args) -> "void":
        return _RNAblueprint.StringVector___setslice__(self, *args)

    def __delslice__(self, i: "std::vector< std::string >::difference_type", j: "std::vector< std::string >::difference_type") -> "void":
        return _RNAblueprint.StringVector___delslice__(self, i, j)

    def __delitem__(self, *args) -> "void":
        return _RNAblueprint.StringVector___delitem__(self, *args)

    def __getitem__(self, *args) -> "std::vector< std::string >::value_type const &":
        return _RNAblueprint.StringVector___getitem__(self, *args)

    def __setitem__(self, *args) -> "void":
        return _RNAblueprint.StringVector___setitem__(self, *args)

    def pop(self) -> "std::vector< std::string >::value_type":
        return _RNAblueprint.StringVector_pop(self)

    def append(self, x: "std::vector< std::string >::value_type const &") -> "void":
        return _RNAblueprint.StringVector_append(self, x)

    def empty(self) -> "bool":
        return _RNAblueprint.StringVector_empty(self)

    def size(self) -> "std::vector< std::string >::size_type":
        return _RNAblueprint.StringVector_size(self)

    def swap(self, v: "StringVector") -> "void":
        return _RNAblueprint.StringVector_swap(self, v)

    def begin(self) -> "std::vector< std::string >::iterator":
        return _RNAblueprint.StringVector_begin(self)

    def end(self) -> "std::vector< std::string >::iterator":
        return _RNAblueprint.StringVector_end(self)

    def rbegin(self) -> "std::vector< std::string >::reverse_iterator":
        return _RNAblueprint.StringVector_rbegin(self)

    def rend(self) -> "std::vector< std::string >::reverse_iterator":
        return _RNAblueprint.StringVector_rend(self)

    def clear(self) -> "void":
        return _RNAblueprint.StringVector_clear(self)

    def get_allocator(self) -> "std::vector< std::string >::allocator_type":
        return _RNAblueprint.StringVector_get_allocator(self)

    def pop_back(self) -> "void":
        return _RNAblueprint.StringVector_pop_back(self)

    def erase(self, *args) -> "std::vector< std::string >::iterator":
        return _RNAblueprint.StringVector_erase(self, *args)

    def __init__(self, *args):
        _RNAblueprint.StringVector_swiginit(self, _RNAblueprint.new_StringVector(*args))

    def push_back(self, x: "std::vector< std::string >::value_type const &") -> "void":
        return _RNAblueprint.StringVector_push_back(self, x)

    def front(self) -> "std::vector< std::string >::value_type const &":
        return _RNAblueprint.StringVector_front(self)

    def back(self) -> "std::vector< std::string >::value_type const &":
        return _RNAblueprint.StringVector_back(self)

    def assign(self, n: "std::vector< std::string >::size_type", x: "std::vector< std::string >::value_type const &") -> "void":
        return _RNAblueprint.StringVector_assign(self, n, x)

    def resize(self, *args) -> "void":
        return _RNAblueprint.StringVector_resize(self, *args)

    def insert(self, *args) -> "void":
        return _RNAblueprint.StringVector_insert(self, *args)

    def reserve(self, n: "std::vector< std::string >::size_type") -> "void":
        return _RNAblueprint.StringVector_reserve(self, n)

    def capacity(self) -> "std::vector< std::string >::size_type":
        return _RNAblueprint.StringVector_capacity(self)
    __swig_destroy__ = _RNAblueprint.delete_StringVector

# Register StringVector in _RNAblueprint:
_RNAblueprint.StringVector_swigregister(StringVector)

class IntVector(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def iterator(self) -> "swig::SwigPyIterator *":
        return _RNAblueprint.IntVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self) -> "bool":
        return _RNAblueprint.IntVector___nonzero__(self)

    def __bool__(self) -> "bool":
        return _RNAblueprint.IntVector___bool__(self)

    def __len__(self) -> "std::vector< int >::size_type":
        return _RNAblueprint.IntVector___len__(self)

    def __getslice__(self, i: "std::vector< int >::difference_type", j: "std::vector< int >::difference_type") -> "std::vector< int,std::allocator< int > > *":
        return _RNAblueprint.IntVector___getslice__(self, i, j)

    def __setslice__(self, *args) -> "void":
        return _RNAblueprint.IntVector___setslice__(self, *args)

    def __delslice__(self, i: "std::vector< int >::difference_type", j: "std::vector< int >::difference_type") -> "void":
        return _RNAblueprint.IntVector___delslice__(self, i, j)

    def __delitem__(self, *args) -> "void":
        return _RNAblueprint.IntVector___delitem__(self, *args)

    def __getitem__(self, *args) -> "std::vector< int >::value_type const &":
        return _RNAblueprint.IntVector___getitem__(self, *args)

    def __setitem__(self, *args) -> "void":
        return _RNAblueprint.IntVector___setitem__(self, *args)

    def pop(self) -> "std::vector< int >::value_type":
        return _RNAblueprint.IntVector_pop(self)

    def append(self, x: "std::vector< int >::value_type const &") -> "void":
        return _RNAblueprint.IntVector_append(self, x)

    def empty(self) -> "bool":
        return _RNAblueprint.IntVector_empty(self)

    def size(self) -> "std::vector< int >::size_type":
        return _RNAblueprint.IntVector_size(self)

    def swap(self, v: "IntVector") -> "void":
        return _RNAblueprint.IntVector_swap(self, v)

    def begin(self) -> "std::vector< int >::iterator":
        return _RNAblueprint.IntVector_begin(self)

    def end(self) -> "std::vector< int >::iterator":
        return _RNAblueprint.IntVector_end(self)

    def rbegin(self) -> "std::vector< int >::reverse_iterator":
        return _RNAblueprint.IntVector_rbegin(self)

    def rend(self) -> "std::vector< int >::reverse_iterator":
        return _RNAblueprint.IntVector_rend(self)

    def clear(self) -> "void":
        return _RNAblueprint.IntVector_clear(self)

    def get_allocator(self) -> "std::vector< int >::allocator_type":
        return _RNAblueprint.IntVector_get_allocator(self)

    def pop_back(self) -> "void":
        return _RNAblueprint.IntVector_pop_back(self)

    def erase(self, *args) -> "std::vector< int >::iterator":
        return _RNAblueprint.IntVector_erase(self, *args)

    def __init__(self, *args):
        _RNAblueprint.IntVector_swiginit(self, _RNAblueprint.new_IntVector(*args))

    def push_back(self, x: "std::vector< int >::value_type const &") -> "void":
        return _RNAblueprint.IntVector_push_back(self, x)

    def front(self) -> "std::vector< int >::value_type const &":
        return _RNAblueprint.IntVector_front(self)

    def back(self) -> "std::vector< int >::value_type const &":
        return _RNAblueprint.IntVector_back(self)

    def assign(self, n: "std::vector< int >::size_type", x: "std::vector< int >::value_type const &") -> "void":
        return _RNAblueprint.IntVector_assign(self, n, x)

    def resize(self, *args) -> "void":
        return _RNAblueprint.IntVector_resize(self, *args)

    def insert(self, *args) -> "void":
        return _RNAblueprint.IntVector_insert(self, *args)

    def reserve(self, n: "std::vector< int >::size_type") -> "void":
        return _RNAblueprint.IntVector_reserve(self, n)

    def capacity(self) -> "std::vector< int >::size_type":
        return _RNAblueprint.IntVector_capacity(self)
    __swig_destroy__ = _RNAblueprint.delete_IntVector

# Register IntVector in _RNAblueprint:
_RNAblueprint.IntVector_swigregister(IntVector)


def initialize_library(*args) -> "void":
    return _RNAblueprint.initialize_library(*args)

def structures_to_graphml(*args) -> "std::string":
    return _RNAblueprint.structures_to_graphml(*args)

def graph_is_bipartite(structures: "StringVector") -> "bool":
    return _RNAblueprint.graph_is_bipartite(structures)

def sequence_structure_compatible(sequence: "std::string", structures: "StringVector") -> "bool":
    return _RNAblueprint.sequence_structure_compatible(sequence, structures)

def incompatible_sequence_positions(sequence: "std::string", structure: "std::string") -> "std::vector< int,std::allocator< int > >":
    return _RNAblueprint.incompatible_sequence_positions(sequence, structure)
class DependencyGraphMT(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        _RNAblueprint.DependencyGraphMT_swiginit(self, _RNAblueprint.new_DependencyGraphMT(*args))
    __swig_destroy__ = _RNAblueprint.delete_DependencyGraphMT

    def set_history_size(self, size: "unsigned int") -> "void":
        return _RNAblueprint.DependencyGraphMT_set_history_size(self, size)

    def get_graphml(self, *args) -> "std::string":
        return _RNAblueprint.DependencyGraphMT_get_graphml(self, *args)

    def get_sequence(self) -> "std::string":
        return _RNAblueprint.DependencyGraphMT_get_sequence(self)

    def set_sequence(self, sequence: "std::string") -> "double":
        return _RNAblueprint.DependencyGraphMT_set_sequence(self, sequence)

    def revert_sequence(self, *args) -> "bool":
        return _RNAblueprint.DependencyGraphMT_revert_sequence(self, *args)

    def get_history(self) -> "std::vector< std::string,std::allocator< std::string > >":
        return _RNAblueprint.DependencyGraphMT_get_history(self)

    def sample_plocal(self, *args) -> "double":
        return _RNAblueprint.DependencyGraphMT_sample_plocal(self, *args)

    def sample_clocal(self, *args) -> "double":
        return _RNAblueprint.DependencyGraphMT_sample_clocal(self, *args)

    def sample(self, *args) -> "double":
        return _RNAblueprint.DependencyGraphMT_sample(self, *args)

    def number_of_sequences(self, *args) -> "double":
        return _RNAblueprint.DependencyGraphMT_number_of_sequences(self, *args)

    def number_of_connected_components(self) -> "int":
        return _RNAblueprint.DependencyGraphMT_number_of_connected_components(self)

    def component_vertices(self, connected_component_ID: "int") -> "std::vector< int,std::allocator< int > >":
        return _RNAblueprint.DependencyGraphMT_component_vertices(self, connected_component_ID)

    def articulation_vertices(self, *args) -> "std::vector< int,std::allocator< int > >":
        return _RNAblueprint.DependencyGraphMT_articulation_vertices(self, *args)

    def max_number_of_dimensions(self) -> "int":
        return _RNAblueprint.DependencyGraphMT_max_number_of_dimensions(self)

# Register DependencyGraphMT in _RNAblueprint:
_RNAblueprint.DependencyGraphMT_swigregister(DependencyGraphMT)



