Package PyML :: Package classifiers :: Package ext :: Module csmo
[frames] | no frames]

Source Code for Module PyML.classifiers.ext.csmo

  1  # This file was automatically generated by SWIG (http://www.swig.org). 
  2  # Version 1.3.31 
  3  # 
  4  # Don't modify this file, modify the SWIG interface instead. 
  5  # This file is compatible with both classic and new-style classes. 
  6   
  7  import _csmo 
  8  import new 
  9  new_instancemethod = new.instancemethod 
 10  try: 
 11      _swig_property = property 
 12  except NameError: 
 13      pass # Python < 2.2 doesn't have 'property'. 
14 -def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
15 if (name == "thisown"): return self.this.own(value) 16 if (name == "this"): 17 if type(value).__name__ == 'PySwigObject': 18 self.__dict__[name] = value 19 return 20 method = class_type.__swig_setmethods__.get(name,None) 21 if method: return method(self,value) 22 if (not static) or hasattr(self,name): 23 self.__dict__[name] = value 24 else: 25 raise AttributeError("You cannot add attributes to %s" % self)
26
27 -def _swig_setattr(self,class_type,name,value):
28 return _swig_setattr_nondynamic(self,class_type,name,value,0)
29
30 -def _swig_getattr(self,class_type,name):
31 if (name == "thisown"): return self.this.own() 32 method = class_type.__swig_getmethods__.get(name,None) 33 if method: return method(self) 34 raise AttributeError,name
35
36 -def _swig_repr(self):
37 try: strthis = "proxy of " + self.this.__repr__() 38 except: strthis = "" 39 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
40 41 import types 42 try: 43 _object = types.ObjectType 44 _newclass = 1 45 except AttributeError:
46 - class _object : pass
47 _newclass = 0 48 del types 49 50
51 -class PySwigIterator(_object):
52 __swig_setmethods__ = {} 53 __setattr__ = lambda self, name, value: _swig_setattr(self, PySwigIterator, name, value) 54 __swig_getmethods__ = {} 55 __getattr__ = lambda self, name: _swig_getattr(self, PySwigIterator, name)
56 - def __init__(self): raise AttributeError, "No constructor defined"
57 __repr__ = _swig_repr 58 __swig_destroy__ = _csmo.delete_PySwigIterator 59 __del__ = lambda self : None;
60 - def value(*args): return _csmo.PySwigIterator_value(*args)
61 - def incr(*args): return _csmo.PySwigIterator_incr(*args)
62 - def decr(*args): return _csmo.PySwigIterator_decr(*args)
63 - def distance(*args): return _csmo.PySwigIterator_distance(*args)
64 - def equal(*args): return _csmo.PySwigIterator_equal(*args)
65 - def copy(*args): return _csmo.PySwigIterator_copy(*args)
66 - def next(*args): return _csmo.PySwigIterator_next(*args)
67 - def previous(*args): return _csmo.PySwigIterator_previous(*args)
68 - def advance(*args): return _csmo.PySwigIterator_advance(*args)
69 - def __eq__(*args): return _csmo.PySwigIterator___eq__(*args)
70 - def __ne__(*args): return _csmo.PySwigIterator___ne__(*args)
71 - def __iadd__(*args): return _csmo.PySwigIterator___iadd__(*args)
72 - def __isub__(*args): return _csmo.PySwigIterator___isub__(*args)
73 - def __add__(*args): return _csmo.PySwigIterator___add__(*args)
74 - def __sub__(*args): return _csmo.PySwigIterator___sub__(*args)
75 - def __iter__(self): return self
76 PySwigIterator_swigregister = _csmo.PySwigIterator_swigregister 77 PySwigIterator_swigregister(PySwigIterator) 78
79 -class IntVector(_object):
80 __swig_setmethods__ = {} 81 __setattr__ = lambda self, name, value: _swig_setattr(self, IntVector, name, value) 82 __swig_getmethods__ = {} 83 __getattr__ = lambda self, name: _swig_getattr(self, IntVector, name) 84 __repr__ = _swig_repr
85 - def iterator(*args): return _csmo.IntVector_iterator(*args)
86 - def __iter__(self): return self.iterator()
87 - def __nonzero__(*args): return _csmo.IntVector___nonzero__(*args)
88 - def __len__(*args): return _csmo.IntVector___len__(*args)
89 - def pop(*args): return _csmo.IntVector_pop(*args)
90 - def __getslice__(*args): return _csmo.IntVector___getslice__(*args)
91 - def __setslice__(*args): return _csmo.IntVector___setslice__(*args)
92 - def __delslice__(*args): return _csmo.IntVector___delslice__(*args)
93 - def __delitem__(*args): return _csmo.IntVector___delitem__(*args)
94 - def __getitem__(*args): return _csmo.IntVector___getitem__(*args)
95 - def __setitem__(*args): return _csmo.IntVector___setitem__(*args)
96 - def append(*args): return _csmo.IntVector_append(*args)
97 - def empty(*args): return _csmo.IntVector_empty(*args)
98 - def size(*args): return _csmo.IntVector_size(*args)
99 - def clear(*args): return _csmo.IntVector_clear(*args)
100 - def swap(*args): return _csmo.IntVector_swap(*args)
101 - def get_allocator(*args): return _csmo.IntVector_get_allocator(*args)
102 - def begin(*args): return _csmo.IntVector_begin(*args)
103 - def end(*args): return _csmo.IntVector_end(*args)
104 - def rbegin(*args): return _csmo.IntVector_rbegin(*args)
105 - def rend(*args): return _csmo.IntVector_rend(*args)
106 - def pop_back(*args): return _csmo.IntVector_pop_back(*args)
107 - def erase(*args): return _csmo.IntVector_erase(*args)
108 - def __init__(self, *args):
109 this = _csmo.new_IntVector(*args) 110 try: self.this.append(this) 111 except: self.this = this
112 - def push_back(*args): return _csmo.IntVector_push_back(*args)
113 - def front(*args): return _csmo.IntVector_front(*args)
114 - def back(*args): return _csmo.IntVector_back(*args)
115 - def assign(*args): return _csmo.IntVector_assign(*args)
116 - def resize(*args): return _csmo.IntVector_resize(*args)
117 - def insert(*args): return _csmo.IntVector_insert(*args)
118 - def reserve(*args): return _csmo.IntVector_reserve(*args)
119 - def capacity(*args): return _csmo.IntVector_capacity(*args)
120 __swig_destroy__ = _csmo.delete_IntVector 121 __del__ = lambda self : None; 122 IntVector_swigregister = _csmo.IntVector_swigregister 123 IntVector_swigregister(IntVector) 124
125 -class DoubleVector(_object):
126 __swig_setmethods__ = {} 127 __setattr__ = lambda self, name, value: _swig_setattr(self, DoubleVector, name, value) 128 __swig_getmethods__ = {} 129 __getattr__ = lambda self, name: _swig_getattr(self, DoubleVector, name) 130 __repr__ = _swig_repr
131 - def iterator(*args): return _csmo.DoubleVector_iterator(*args)
132 - def __iter__(self): return self.iterator()
133 - def __nonzero__(*args): return _csmo.DoubleVector___nonzero__(*args)
134 - def __len__(*args): return _csmo.DoubleVector___len__(*args)
135 - def pop(*args): return _csmo.DoubleVector_pop(*args)
136 - def __getslice__(*args): return _csmo.DoubleVector___getslice__(*args)
137 - def __setslice__(*args): return _csmo.DoubleVector___setslice__(*args)
138 - def __delslice__(*args): return _csmo.DoubleVector___delslice__(*args)
139 - def __delitem__(*args): return _csmo.DoubleVector___delitem__(*args)
140 - def __getitem__(*args): return _csmo.DoubleVector___getitem__(*args)
141 - def __setitem__(*args): return _csmo.DoubleVector___setitem__(*args)
142 - def append(*args): return _csmo.DoubleVector_append(*args)
143 - def empty(*args): return _csmo.DoubleVector_empty(*args)
144 - def size(*args): return _csmo.DoubleVector_size(*args)
145 - def clear(*args): return _csmo.DoubleVector_clear(*args)
146 - def swap(*args): return _csmo.DoubleVector_swap(*args)
147 - def get_allocator(*args): return _csmo.DoubleVector_get_allocator(*args)
148 - def begin(*args): return _csmo.DoubleVector_begin(*args)
149 - def end(*args): return _csmo.DoubleVector_end(*args)
150 - def rbegin(*args): return _csmo.DoubleVector_rbegin(*args)
151 - def rend(*args): return _csmo.DoubleVector_rend(*args)
152 - def pop_back(*args): return _csmo.DoubleVector_pop_back(*args)
153 - def erase(*args): return _csmo.DoubleVector_erase(*args)
154 - def __init__(self, *args):
155 this = _csmo.new_DoubleVector(*args) 156 try: self.this.append(this) 157 except: self.this = this
158 - def push_back(*args): return _csmo.DoubleVector_push_back(*args)
159 - def front(*args): return _csmo.DoubleVector_front(*args)
160 - def back(*args): return _csmo.DoubleVector_back(*args)
161 - def assign(*args): return _csmo.DoubleVector_assign(*args)
162 - def resize(*args): return _csmo.DoubleVector_resize(*args)
163 - def insert(*args): return _csmo.DoubleVector_insert(*args)
164 - def reserve(*args): return _csmo.DoubleVector_reserve(*args)
165 - def capacity(*args): return _csmo.DoubleVector_capacity(*args)
166 __swig_destroy__ = _csmo.delete_DoubleVector 167 __del__ = lambda self : None; 168 DoubleVector_swigregister = _csmo.DoubleVector_swigregister 169 DoubleVector_swigregister(DoubleVector) 170 171 runSMO = _csmo.runSMO 172