20template<
typename T>
class SwigValueWrapper {
21 struct SwigMovePointer {
23 SwigMovePointer(T *p) : ptr(p) { }
24 ~SwigMovePointer() {
delete ptr; }
25 SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0;
delete oldptr; ptr = rhs.ptr; rhs.ptr = 0;
return *
this; }
27 SwigValueWrapper& operator=(
const SwigValueWrapper<T>& rhs);
28 SwigValueWrapper(
const SwigValueWrapper<T>& rhs);
30 SwigValueWrapper() : pointer(0) { }
31 SwigValueWrapper& operator=(
const T& t) { SwigMovePointer tmp(
new T(t)); pointer = tmp;
return *
this; }
32 operator T&()
const {
return *pointer.ptr; }
33 T *operator&() {
return pointer.ptr; }
36template <
typename T> T SwigValueInit() {
47#ifndef SWIGTEMPLATEDISAMBIGUATOR
48# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
49# define SWIGTEMPLATEDISAMBIGUATOR template
50# elif defined(__HP_aCC)
53# define SWIGTEMPLATEDISAMBIGUATOR template
55# define SWIGTEMPLATEDISAMBIGUATOR
61# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
62# define SWIGINLINE inline
71# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
72# define SWIGUNUSED __attribute__ ((__unused__))
77# define SWIGUNUSED __attribute__ ((__unused__))
83#ifndef SWIG_MSC_UNSUPPRESS_4505
85# pragma warning(disable : 4505)
91# define SWIGUNUSEDPARM(p)
93# define SWIGUNUSEDPARM(p) p SWIGUNUSED
99# define SWIGINTERN static SWIGUNUSED
103#ifndef SWIGINTERNINLINE
104# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
109# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
110# ifndef GCC_HASCLASSVISIBILITY
111# define GCC_HASCLASSVISIBILITY
117# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
118# if defined(STATIC_LINKED)
121# define SWIGEXPORT __declspec(dllexport)
124# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
125# define SWIGEXPORT __attribute__ ((visibility("default")))
134# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
135# define SWIGSTDCALL __stdcall
142#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
143# define _CRT_SECURE_NO_DEPRECATE
147#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
148# define _SCL_SECURE_NO_DEPRECATE
152#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
153# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
161#ifdef __INTEL_COMPILER
162# pragma warning disable 592
299#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else
312#define SWIGWORDSIZE64
316#if (__WORDSIZE == 32) || (LONG_MAX == INT_MAX)
317# error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32"
337 std::vector< int >* pv = 0;
339 pv =
new std::vector< int >();
342 throw std::out_of_range(
"capacity");
348 return (*
self)[
index];
350 throw std::out_of_range(
"index");
354 return (*
self)[
index];
356 throw std::out_of_range(
"index");
360 (*self)[
index] = val;
362 throw std::out_of_range(
"index");
365 self->insert(self->end(), values.begin(), values.end());
369 throw std::out_of_range(
"index");
371 throw std::out_of_range(
"count");
372 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
373 throw std::invalid_argument(
"invalid range");
374 return new std::vector< int >(self->begin()+
index, self->begin()+
index+count);
378 self->insert(self->begin()+
index, x);
380 throw std::out_of_range(
"index");
384 self->insert(self->begin()+
index, values.begin(), values.end());
386 throw std::out_of_range(
"index");
390 self->erase(self->begin() +
index);
392 throw std::out_of_range(
"index");
396 throw std::out_of_range(
"index");
398 throw std::out_of_range(
"count");
399 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
400 throw std::invalid_argument(
"invalid range");
401 self->erase(self->begin()+
index, self->begin()+
index+count);
405 throw std::out_of_range(
"count");
406 return new std::vector< int >(count,
value);
409 std::reverse(self->begin(), self->end());
413 throw std::out_of_range(
"index");
415 throw std::out_of_range(
"count");
416 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
417 throw std::invalid_argument(
"invalid range");
418 std::reverse(self->begin()+
index, self->begin()+
index+count);
422 throw std::out_of_range(
"index");
423 if (
index+values.size() > self->size())
424 throw std::out_of_range(
"index");
425 std::copy(values.begin(), values.end(), self->begin()+
index);
428 return std::find(self->begin(), self->end(),
value) !=
self->end();
432 std::vector< int >::iterator it = std::find(self->begin(), self->end(),
value);
433 if (it != self->end())
434 index = (int)(it - self->begin());
439 std::vector< int >::reverse_iterator rit = std::find(self->rbegin(), self->rend(),
value);
440 if (rit != self->rend())
441 index = (int)(self->rend() - 1 - rit);
445 std::vector< int >::iterator it = std::find(self->begin(), self->end(),
value);
446 if (it != self->end()) {
453 std::vector< std::vector< int > >* pv = 0;
455 pv =
new std::vector< std::vector< int > >();
458 throw std::out_of_range(
"capacity");
464 return (*
self)[
index];
466 throw std::out_of_range(
"index");
470 return (*
self)[
index];
472 throw std::out_of_range(
"index");
476 (*self)[
index] = val;
478 throw std::out_of_range(
"index");
481 self->insert(self->end(), values.begin(), values.end());
485 throw std::out_of_range(
"index");
487 throw std::out_of_range(
"count");
488 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
489 throw std::invalid_argument(
"invalid range");
490 return new std::vector< std::vector< int > >(
self->begin()+
index,
self->begin()+
index+count);
494 self->insert(self->begin()+
index, x);
496 throw std::out_of_range(
"index");
500 self->insert(self->begin()+
index, values.begin(), values.end());
502 throw std::out_of_range(
"index");
506 self->erase(self->begin() +
index);
508 throw std::out_of_range(
"index");
512 throw std::out_of_range(
"index");
514 throw std::out_of_range(
"count");
515 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
516 throw std::invalid_argument(
"invalid range");
517 self->erase(self->begin()+
index, self->begin()+
index+count);
521 throw std::out_of_range(
"count");
522 return new std::vector< std::vector< int > >(count,
value);
525 std::reverse(self->begin(), self->end());
529 throw std::out_of_range(
"index");
531 throw std::out_of_range(
"count");
532 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
533 throw std::invalid_argument(
"invalid range");
534 std::reverse(self->begin()+
index, self->begin()+
index+count);
538 throw std::out_of_range(
"index");
539 if (
index+values.size() > self->size())
540 throw std::out_of_range(
"index");
541 std::copy(values.begin(), values.end(), self->begin()+
index);
544 std::vector< long >* pv = 0;
546 pv =
new std::vector< long >();
549 throw std::out_of_range(
"capacity");
555 return (*
self)[
index];
557 throw std::out_of_range(
"index");
561 return (*
self)[
index];
563 throw std::out_of_range(
"index");
567 (*self)[
index] = val;
569 throw std::out_of_range(
"index");
572 self->insert(self->end(), values.begin(), values.end());
576 throw std::out_of_range(
"index");
578 throw std::out_of_range(
"count");
579 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
580 throw std::invalid_argument(
"invalid range");
581 return new std::vector< long >(self->begin()+
index, self->begin()+
index+count);
585 self->insert(self->begin()+
index, x);
587 throw std::out_of_range(
"index");
591 self->insert(self->begin()+
index, values.begin(), values.end());
593 throw std::out_of_range(
"index");
597 self->erase(self->begin() +
index);
599 throw std::out_of_range(
"index");
603 throw std::out_of_range(
"index");
605 throw std::out_of_range(
"count");
606 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
607 throw std::invalid_argument(
"invalid range");
608 self->erase(self->begin()+
index, self->begin()+
index+count);
612 throw std::out_of_range(
"count");
613 return new std::vector< long >(count,
value);
616 std::reverse(self->begin(), self->end());
620 throw std::out_of_range(
"index");
622 throw std::out_of_range(
"count");
623 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
624 throw std::invalid_argument(
"invalid range");
625 std::reverse(self->begin()+
index, self->begin()+
index+count);
629 throw std::out_of_range(
"index");
630 if (
index+values.size() > self->size())
631 throw std::out_of_range(
"index");
632 std::copy(values.begin(), values.end(), self->begin()+
index);
635 return std::find(self->begin(), self->end(),
value) !=
self->end();
639 std::vector< long >::iterator it = std::find(self->begin(), self->end(),
value);
640 if (it != self->end())
641 index = (int)(it - self->begin());
646 std::vector< long >::reverse_iterator rit = std::find(self->rbegin(), self->rend(),
value);
647 if (rit != self->rend())
648 index = (int)(self->rend() - 1 - rit);
652 std::vector< long >::iterator it = std::find(self->begin(), self->end(),
value);
653 if (it != self->end()) {
660 std::vector< std::vector< int64_t > >* pv = 0;
662 pv =
new std::vector< std::vector< int64_t > >();
665 throw std::out_of_range(
"capacity");
671 return (*
self)[
index];
673 throw std::out_of_range(
"index");
677 return (*
self)[
index];
679 throw std::out_of_range(
"index");
683 (*self)[
index] = val;
685 throw std::out_of_range(
"index");
688 self->insert(self->end(), values.begin(), values.end());
692 throw std::out_of_range(
"index");
694 throw std::out_of_range(
"count");
695 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
696 throw std::invalid_argument(
"invalid range");
697 return new std::vector< std::vector< int64_t > >(
self->begin()+
index,
self->begin()+
index+count);
701 self->insert(self->begin()+
index, x);
703 throw std::out_of_range(
"index");
707 self->insert(self->begin()+
index, values.begin(), values.end());
709 throw std::out_of_range(
"index");
713 self->erase(self->begin() +
index);
715 throw std::out_of_range(
"index");
719 throw std::out_of_range(
"index");
721 throw std::out_of_range(
"count");
722 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
723 throw std::invalid_argument(
"invalid range");
724 self->erase(self->begin()+
index, self->begin()+
index+count);
728 throw std::out_of_range(
"count");
729 return new std::vector< std::vector< int64_t > >(count,
value);
732 std::reverse(self->begin(), self->end());
736 throw std::out_of_range(
"index");
738 throw std::out_of_range(
"count");
739 if (
index >= (
int)self->size()+1 ||
index+count > (
int)self->size())
740 throw std::invalid_argument(
"invalid range");
741 std::reverse(self->begin()+
index, self->begin()+
index+count);
745 throw std::out_of_range(
"index");
746 if (
index+values.size() > self->size())
747 throw std::out_of_range(
"index");
748 std::copy(values.begin(), values.end(), self->begin()+
index);
759 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
761 arg1 = (std::vector< int > *)jarg1;
767 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
771 arg1 = (std::vector< int > *)jarg1;
774 (arg1)->push_back((
int const &)*arg2);
779 unsigned long jresult ;
780 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
781 std::vector< int >::size_type result;
783 arg1 = (std::vector< int > *)jarg1;
784 result = ((std::vector< int >
const *)arg1)->size();
785 jresult = (
unsigned long)result;
791 unsigned long jresult ;
792 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
793 std::vector< int >::size_type result;
795 arg1 = (std::vector< int > *)jarg1;
796 result = ((std::vector< int >
const *)arg1)->capacity();
797 jresult = (
unsigned long)result;
803 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
804 std::vector< int >::size_type arg2 ;
806 arg1 = (std::vector< int > *)jarg1;
807 arg2 = (std::vector< int >::size_type)jarg2;
808 (arg1)->reserve(arg2);
814 std::vector< int > *result = 0 ;
816 result = (std::vector< int > *)
new std::vector< int >();
817 jresult = (
void *)result;
824 std::vector< int > *arg1 = 0 ;
825 std::vector< int > *result = 0 ;
827 arg1 = (std::vector< int > *)jarg1;
832 result = (std::vector< int > *)
new std::vector< int >((std::vector< int >
const &)*arg1);
833 jresult = (
void *)result;
841 std::vector< int > *result = 0 ;
846 }
catch(std::out_of_range &_e) {
850 jresult = (
void *)result;
857 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
861 arg1 = (std::vector< int > *)jarg1;
865 }
catch(std::out_of_range &_e) {
876 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
878 std::vector< int >::value_type *result = 0 ;
880 arg1 = (std::vector< int > *)jarg1;
884 }
catch(std::out_of_range &_e) {
894 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
899 arg1 = (std::vector< int > *)jarg1;
905 }
catch(std::out_of_range &_e) {
913 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
914 std::vector< int > *arg2 = 0 ;
916 arg1 = (std::vector< int > *)jarg1;
917 arg2 = (std::vector< int > *)jarg2;
928 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
931 std::vector< int > *result = 0 ;
933 arg1 = (std::vector< int > *)jarg1;
938 }
catch(std::out_of_range &_e) {
941 }
catch(std::invalid_argument &_e) {
945 jresult = (
void *)result;
951 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
956 arg1 = (std::vector< int > *)jarg1;
962 }
catch(std::out_of_range &_e) {
970 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
972 std::vector< int > *arg3 = 0 ;
974 arg1 = (std::vector< int > *)jarg1;
976 arg3 = (std::vector< int > *)jarg3;
983 }
catch(std::out_of_range &_e) {
991 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
994 arg1 = (std::vector< int > *)jarg1;
998 }
catch(std::out_of_range &_e) {
1006 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1010 arg1 = (std::vector< int > *)jarg1;
1015 }
catch(std::out_of_range &_e) {
1018 }
catch(std::invalid_argument &_e) {
1030 std::vector< int > *result = 0 ;
1037 }
catch(std::out_of_range &_e) {
1041 jresult = (
void *)result;
1047 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1049 arg1 = (std::vector< int > *)jarg1;
1055 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1059 arg1 = (std::vector< int > *)jarg1;
1064 }
catch(std::out_of_range &_e) {
1067 }
catch(std::invalid_argument &_e) {
1075 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1077 std::vector< int > *arg3 = 0 ;
1079 arg1 = (std::vector< int > *)jarg1;
1081 arg3 = (std::vector< int > *)jarg3;
1088 }
catch(std::out_of_range &_e) {
1096 unsigned int jresult ;
1097 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1102 arg1 = (std::vector< int > *)jarg1;
1113 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1118 arg1 = (std::vector< int > *)jarg1;
1129 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1134 arg1 = (std::vector< int > *)jarg1;
1144 unsigned int jresult ;
1145 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1150 arg1 = (std::vector< int > *)jarg1;
1160 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1162 arg1 = (std::vector< int > *)jarg1;
1168 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1170 arg1 = (std::vector< std::vector< int > > *)jarg1;
1176 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1177 std::vector< int > *arg2 = 0 ;
1179 arg1 = (std::vector< std::vector< int > > *)jarg1;
1180 arg2 = (std::vector< int > *)jarg2;
1185 (arg1)->push_back((std::vector< int >
const &)*arg2);
1190 unsigned long jresult ;
1191 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1192 std::vector< std::vector< int > >::size_type result;
1194 arg1 = (std::vector< std::vector< int > > *)jarg1;
1195 result = ((std::vector< std::vector< int > >
const *)arg1)->size();
1196 jresult = (
unsigned long)result;
1202 unsigned long jresult ;
1203 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1204 std::vector< std::vector< int > >::size_type result;
1206 arg1 = (std::vector< std::vector< int > > *)jarg1;
1207 result = ((std::vector< std::vector< int > >
const *)arg1)->capacity();
1208 jresult = (
unsigned long)result;
1214 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1215 std::vector< std::vector< int > >::size_type arg2 ;
1217 arg1 = (std::vector< std::vector< int > > *)jarg1;
1218 arg2 = (std::vector< std::vector< int > >::size_type)jarg2;
1219 (arg1)->reserve(arg2);
1225 std::vector< std::vector< int > > *result = 0 ;
1227 result = (std::vector< std::vector< int > > *)
new std::vector< std::vector< int > >();
1228 jresult = (
void *)result;
1235 std::vector< std::vector< int > > *arg1 = 0 ;
1236 std::vector< std::vector< int > > *result = 0 ;
1238 arg1 = (std::vector< std::vector< int > > *)jarg1;
1243 result = (std::vector< std::vector< int > > *)
new std::vector< std::vector< int > >((std::vector< std::vector< int > >
const &)*arg1);
1244 jresult = (
void *)result;
1252 std::vector< std::vector< int > > *result = 0 ;
1257 }
catch(std::out_of_range &_e) {
1261 jresult = (
void *)result;
1268 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1270 std::vector< int > result;
1272 arg1 = (std::vector< std::vector< int > > *)jarg1;
1276 }
catch(std::out_of_range &_e) {
1280 jresult =
new std::vector< int >((
const std::vector< int > &)result);
1287 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1289 std::vector< std::vector< int > >::value_type *result = 0 ;
1291 arg1 = (std::vector< std::vector< int > > *)jarg1;
1295 }
catch(std::out_of_range &_e) {
1299 jresult = (
void *)result;
1305 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1307 std::vector< int > *arg3 = 0 ;
1309 arg1 = (std::vector< std::vector< int > > *)jarg1;
1311 arg3 = (std::vector< int > *)jarg3;
1318 }
catch(std::out_of_range &_e) {
1326 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1327 std::vector< std::vector< int > > *arg2 = 0 ;
1329 arg1 = (std::vector< std::vector< int > > *)jarg1;
1330 arg2 = (std::vector< std::vector< int > > *)jarg2;
1341 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1344 std::vector< std::vector< int > > *result = 0 ;
1346 arg1 = (std::vector< std::vector< int > > *)jarg1;
1351 }
catch(std::out_of_range &_e) {
1354 }
catch(std::invalid_argument &_e) {
1358 jresult = (
void *)result;
1364 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1366 std::vector< int > *arg3 = 0 ;
1368 arg1 = (std::vector< std::vector< int > > *)jarg1;
1370 arg3 = (std::vector< int > *)jarg3;
1377 }
catch(std::out_of_range &_e) {
1385 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1387 std::vector< std::vector< int > > *arg3 = 0 ;
1389 arg1 = (std::vector< std::vector< int > > *)jarg1;
1391 arg3 = (std::vector< std::vector< int > > *)jarg3;
1398 }
catch(std::out_of_range &_e) {
1406 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1409 arg1 = (std::vector< std::vector< int > > *)jarg1;
1413 }
catch(std::out_of_range &_e) {
1421 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1425 arg1 = (std::vector< std::vector< int > > *)jarg1;
1430 }
catch(std::out_of_range &_e) {
1433 }
catch(std::invalid_argument &_e) {
1442 std::vector< int > *arg1 = 0 ;
1444 std::vector< std::vector< int > > *result = 0 ;
1446 arg1 = (std::vector< int > *)jarg1;
1454 }
catch(std::out_of_range &_e) {
1458 jresult = (
void *)result;
1464 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1466 arg1 = (std::vector< std::vector< int > > *)jarg1;
1472 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1476 arg1 = (std::vector< std::vector< int > > *)jarg1;
1481 }
catch(std::out_of_range &_e) {
1484 }
catch(std::invalid_argument &_e) {
1492 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1494 std::vector< std::vector< int > > *arg3 = 0 ;
1496 arg1 = (std::vector< std::vector< int > > *)jarg1;
1498 arg3 = (std::vector< std::vector< int > > *)jarg3;
1505 }
catch(std::out_of_range &_e) {
1513 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1515 arg1 = (std::vector< std::vector< int > > *)jarg1;
1521 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1523 arg1 = (std::vector< int64_t > *)jarg1;
1529 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1533 arg1 = (std::vector< int64_t > *)jarg1;
1534 temp2 = (long)jarg2;
1536 (arg1)->push_back((
long const &)*arg2);
1541 unsigned long jresult ;
1542 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1543 std::vector< long >::size_type result;
1545 arg1 = (std::vector< int64_t > *)jarg1;
1546 result = ((std::vector< int64_t >
const *)arg1)->size();
1547 jresult = (
unsigned long)result;
1553 unsigned long jresult ;
1554 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1555 std::vector< long >::size_type result;
1557 arg1 = (std::vector< int64_t > *)jarg1;
1558 result = ((std::vector< int64_t >
const *)arg1)->capacity();
1559 jresult = (
unsigned long)result;
1565 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1566 std::vector< long >::size_type arg2 ;
1568 arg1 = (std::vector< int64_t > *)jarg1;
1569 arg2 = (std::vector< long >::size_type)jarg2;
1570 (arg1)->reserve(arg2);
1576 std::vector< int64_t > *result = 0 ;
1578 result = (std::vector< int64_t > *)
new std::vector< int64_t >();
1579 jresult = (
void *)result;
1586 std::vector< int64_t > *arg1 = 0 ;
1587 std::vector< int64_t > *result = 0 ;
1589 arg1 = (std::vector< int64_t > *)jarg1;
1594 result = (std::vector< int64_t > *)
new std::vector< int64_t >((std::vector< int64_t >
const &)*arg1);
1595 jresult = (
void *)result;
1603 std::vector< int64_t > *result = 0 ;
1608 }
catch(std::out_of_range &_e) {
1612 jresult = (
void *)result;
1619 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1623 arg1 = (std::vector< int64_t > *)jarg1;
1627 }
catch(std::out_of_range &_e) {
1638 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1640 std::vector< long >::value_type *result = 0 ;
1642 arg1 = (std::vector< int64_t > *)jarg1;
1646 }
catch(std::out_of_range &_e) {
1656 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1661 arg1 = (std::vector< int64_t > *)jarg1;
1663 temp3 = (long)jarg3;
1667 }
catch(std::out_of_range &_e) {
1675 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1676 std::vector< long > *arg2 = 0 ;
1678 arg1 = (std::vector< int64_t > *)jarg1;
1679 arg2 = (std::vector< long > *)jarg2;
1690 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1693 std::vector< long > *result = 0 ;
1695 arg1 = (std::vector< int64_t > *)jarg1;
1700 }
catch(std::out_of_range &_e) {
1703 }
catch(std::invalid_argument &_e) {
1707 jresult = (
void *)result;
1713 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1718 arg1 = (std::vector< int64_t > *)jarg1;
1720 temp3 = (long)jarg3;
1724 }
catch(std::out_of_range &_e) {
1732 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1734 std::vector< long > *arg3 = 0 ;
1736 arg1 = (std::vector< int64_t > *)jarg1;
1738 arg3 = (std::vector< long > *)jarg3;
1745 }
catch(std::out_of_range &_e) {
1753 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1756 arg1 = (std::vector< int64_t > *)jarg1;
1760 }
catch(std::out_of_range &_e) {
1768 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1772 arg1 = (std::vector< int64_t > *)jarg1;
1777 }
catch(std::out_of_range &_e) {
1780 }
catch(std::invalid_argument &_e) {
1792 std::vector< long > *result = 0 ;
1794 temp1 = (long)jarg1;
1799 }
catch(std::out_of_range &_e) {
1803 jresult = (
void *)result;
1809 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1811 arg1 = (std::vector< int64_t > *)jarg1;
1817 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1821 arg1 = (std::vector< int64_t > *)jarg1;
1826 }
catch(std::out_of_range &_e) {
1829 }
catch(std::invalid_argument &_e) {
1837 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1839 std::vector< long > *arg3 = 0 ;
1841 arg1 = (std::vector< int64_t > *)jarg1;
1843 arg3 = (std::vector< long > *)jarg3;
1850 }
catch(std::out_of_range &_e) {
1858 unsigned int jresult ;
1859 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1864 arg1 = (std::vector< int64_t > *)jarg1;
1865 temp2 = (long)jarg2;
1875 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1880 arg1 = (std::vector< int64_t > *)jarg1;
1881 temp2 = (long)jarg2;
1891 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1896 arg1 = (std::vector< int64_t > *)jarg1;
1897 temp2 = (long)jarg2;
1906 unsigned int jresult ;
1907 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1912 arg1 = (std::vector< int64_t > *)jarg1;
1913 temp2 = (long)jarg2;
1922 std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1924 arg1 = (std::vector< int64_t > *)jarg1;
1930 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
1932 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
1938 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
1939 std::vector< int64_t > *arg2 = 0 ;
1941 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
1942 arg2 = (std::vector< int64_t > *)jarg2;
1947 (arg1)->push_back((std::vector< int64_t >
const &)*arg2);
1952 unsigned long jresult ;
1953 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
1954 std::vector< std::vector< long > >::size_type result;
1956 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
1957 result = ((std::vector< std::vector< int64_t > >
const *)arg1)->size();
1958 jresult = (
unsigned long)result;
1964 unsigned long jresult ;
1965 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
1966 std::vector< std::vector< long > >::size_type result;
1968 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
1969 result = ((std::vector< std::vector< int64_t > >
const *)arg1)->capacity();
1970 jresult = (
unsigned long)result;
1976 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
1977 std::vector< std::vector< long > >::size_type arg2 ;
1979 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
1980 arg2 = (std::vector< std::vector< long > >::size_type)jarg2;
1981 (arg1)->reserve(arg2);
1987 std::vector< std::vector< int64_t > > *result = 0 ;
1989 result = (std::vector< std::vector< int64_t > > *)
new std::vector< std::vector< int64_t > >();
1990 jresult = (
void *)result;
1997 std::vector< std::vector< int64_t > > *arg1 = 0 ;
1998 std::vector< std::vector< int64_t > > *result = 0 ;
2000 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2005 result = (std::vector< std::vector< int64_t > > *)
new std::vector< std::vector< int64_t > >((std::vector< std::vector< int64_t > >
const &)*arg1);
2006 jresult = (
void *)result;
2014 std::vector< std::vector< int64_t > > *result = 0 ;
2019 }
catch(std::out_of_range &_e) {
2023 jresult = (
void *)result;
2030 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2032 std::vector< int64_t > result;
2034 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2038 }
catch(std::out_of_range &_e) {
2042 jresult =
new std::vector< int64_t >((
const std::vector< int64_t > &)result);
2049 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2051 std::vector< std::vector< long > >::value_type *result = 0 ;
2053 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2057 }
catch(std::out_of_range &_e) {
2061 jresult = (
void *)result;
2067 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2069 std::vector< int64_t > *arg3 = 0 ;
2071 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2073 arg3 = (std::vector< int64_t > *)jarg3;
2080 }
catch(std::out_of_range &_e) {
2088 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2089 std::vector< std::vector< int64_t > > *arg2 = 0 ;
2091 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2092 arg2 = (std::vector< std::vector< int64_t > > *)jarg2;
2103 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2106 std::vector< std::vector< int64_t > > *result = 0 ;
2108 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2113 }
catch(std::out_of_range &_e) {
2116 }
catch(std::invalid_argument &_e) {
2120 jresult = (
void *)result;
2126 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2128 std::vector< int64_t > *arg3 = 0 ;
2130 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2132 arg3 = (std::vector< int64_t > *)jarg3;
2139 }
catch(std::out_of_range &_e) {
2147 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2149 std::vector< std::vector< int64_t > > *arg3 = 0 ;
2151 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2153 arg3 = (std::vector< std::vector< int64_t > > *)jarg3;
2160 }
catch(std::out_of_range &_e) {
2168 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2171 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2175 }
catch(std::out_of_range &_e) {
2183 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2187 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2192 }
catch(std::out_of_range &_e) {
2195 }
catch(std::invalid_argument &_e) {
2204 std::vector< int64_t > *arg1 = 0 ;
2206 std::vector< std::vector< int64_t > > *result = 0 ;
2208 arg1 = (std::vector< int64_t > *)jarg1;
2216 }
catch(std::out_of_range &_e) {
2220 jresult = (
void *)result;
2226 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2228 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2234 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2238 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2243 }
catch(std::out_of_range &_e) {
2246 }
catch(std::invalid_argument &_e) {
2254 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2256 std::vector< std::vector< int64_t > > *arg3 = 0 ;
2258 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2260 arg3 = (std::vector< std::vector< int64_t > > *)jarg3;
2267 }
catch(std::out_of_range &_e) {
2275 std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2277 arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2284 std::string *arg1 = 0 ;
2291 std::string arg1_str(jarg1);
2294 jresult = (
void *)result;
2302 std::string *arg2 = 0 ;
2310 std::string arg2_str(jarg2);
2313 jresult = (
void *)result;
2327 int len3_1,
int len3_2, int64_t*
2328 jarg3,
int length4, int64_t* jarg4) {
2330 std::vector< int64_t > *arg2 = 0 ;
2331 std::vector< std::vector< int64_t > > *arg3 = 0 ;
2332 std::vector< int64_t > *arg4 = 0 ;
2333 std::vector< std::vector< int64_t > > result3 ;
2337 arg2 =
new std::vector<int64_t>;
2338 arg2->reserve(length2);
2339 for(
int i = 0; i < length2; ++i) {
2340 arg2->emplace_back(jarg2[i]);
2345 result3.resize(len3_1);
2347 int64_t* inner_array =
reinterpret_cast<int64_t*
>(jarg3);
2348 int actualIndex = 0;
2349 for (
int index1 = 0; index1 < len3_1; ++index1) {
2350 result3[index1].reserve(len3_2);
2351 for (
int index2 = 0; index2 < len3_2; ++index2) {
2352 const int64_t
value = inner_array[actualIndex];
2353 result3[index1].emplace_back(
value);
2361 arg4 =
new std::vector<int64_t>;
2362 arg4->reserve(length4);
2363 for(
int i = 0; i < length4; ++i) {
2364 arg4->emplace_back(jarg4[i]);
2367 (arg1)->Init((std::vector< int64_t >
const &)*arg2,(std::vector< std::vector< int64_t > >
const &)*arg3,(std::vector< int64_t >
const &)*arg4);
2383 result = (int64_t)(arg1)->
Solve();
2390 unsigned int jresult ;
2404 unsigned int jresult ;
2428 unsigned int jresult ;
2444 arg2 = jarg2 ? true :
false;
2445 (arg1)->set_use_reduction(arg2);
2454 arg2 = (double)jarg2;
2455 (arg1)->set_time_limit(arg2);
This library solves knapsack problems.
int64_t Solve()
Solves the problem and returns the profit of the optimal solution.
SolverType
Enum controlling which underlying algorithm is used.
std::string GetName() const
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_Int64VectorVector__SWIG_2___(int jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_Add___(void *jarg1, int jarg2)
SWIGINTERN bool std_vector_Sl_int64_t_Sg__Contains(std::vector< int64_t > *self, long const &value)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_Repeat___(int jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_AddRange___(void *jarg1, void *jarg2)
SWIGINTERN void std_vector_Sl_int64_t_Sg__AddRange(std::vector< int64_t > *self, std::vector< long > const &values)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_RemoveAt___(void *jarg1, int jarg2)
SWIGINTERN std::vector< int > * new_std_vector_Sl_int_Sg___SWIG_2(int capacity)
SWIGINTERN void std_vector_Sl_int_Sg__InsertRange(std::vector< int > *self, int index, std::vector< int > const &values)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Reverse__SWIG_0(std::vector< std::vector< int64_t > > *self)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Remove___(void *jarg1, long long jarg2)
static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[]
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_capacity___(void *jarg1)
SWIGINTERN std::vector< std::vector< int > > * std_vector_Sl_std_vector_Sl_int_Sg__Sg__GetRange(std::vector< std::vector< int > > *self, int index, int count)
SWIGINTERN void std_vector_Sl_int64_t_Sg__setitem(std::vector< int64_t > *self, int index, long const &val)
void(SWIGSTDCALL * SWIG_CSharpExceptionCallback_t)(const char *)
void(SWIGSTDCALL * SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *)
SWIGINTERN bool std_vector_Sl_int64_t_Sg__Remove(std::vector< int64_t > *self, long const &value)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_Reverse__SWIG_1___(void *jarg1, int jarg2, int jarg3)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Insert(std::vector< std::vector< int64_t > > *self, int index, std::vector< int64_t > const &x)
SWIGINTERN std::vector< int > * std_vector_Sl_int_Sg__Repeat(int const &value, int count)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_IntVectorVector__SWIG_1___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_Reverse__SWIG_0___(void *jarg1)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__Reverse__SWIG_1(std::vector< std::vector< int > > *self, int index, int count)
SWIGINTERN std::vector< std::vector< int64_t > > * new_std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg___SWIG_2(int capacity)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_SetUseReduction___(void *jarg1, unsigned int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_delete_KnapsackSolver___(void *jarg1)
static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_Clear___(void *jarg1)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__AddRange(std::vector< std::vector< int64_t > > *self, std::vector< std::vector< int64_t > > const &values)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_getitem___(void *jarg1, int jarg2)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_getitem___(void *jarg1, int jarg2)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_IndexOf___(void *jarg1, int jarg2)
SWIGINTERN std::vector< long > * std_vector_Sl_int64_t_Sg__GetRange(std::vector< int64_t > *self, int index, int count)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__RemoveRange(std::vector< std::vector< int64_t > > *self, int index, int count)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_Contains___(void *jarg1, int jarg2)
SWIGINTERN std::vector< std::vector< int64_t > > * std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__GetRange(std::vector< std::vector< int64_t > > *self, int index, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_Insert___(void *jarg1, int jarg2, int jarg3)
SWIGINTERN std::vector< std::vector< long > >::value_type const & std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__getitem(std::vector< std::vector< int64_t > > *self, int index)
SWIGINTERN std::vector< std::vector< int > > * new_std_vector_Sl_std_vector_Sl_int_Sg__Sg___SWIG_2(int capacity)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__InsertRange(std::vector< std::vector< int > > *self, int index, std::vector< std::vector< int > > const &values)
SWIGINTERN bool std_vector_Sl_int_Sg__Contains(std::vector< int > *self, int const &value)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_reserve___(void *jarg1, unsigned long jarg2)
SWIGINTERN std::vector< std::vector< int64_t > > * std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Repeat(std::vector< int64_t > const &value, int count)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_LastIndexOf___(void *jarg1, long long jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Clear___(void *jarg1)
SWIGINTERN void std_vector_Sl_int64_t_Sg__SetRange(std::vector< int64_t > *self, int index, std::vector< long > const &values)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_IntVector__SWIG_0___()
SWIGINTERN int std_vector_Sl_int_Sg__LastIndexOf(std::vector< int > *self, int const &value)
SWIGINTERN void std_vector_Sl_int_Sg__Reverse__SWIG_1(std::vector< int > *self, int index, int count)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__SetRange(std::vector< std::vector< int > > *self, int index, std::vector< std::vector< int > > const &values)
SWIGINTERN std::vector< long > * std_vector_Sl_int64_t_Sg__Repeat(long const &value, int count)
SWIGINTERN void std_vector_Sl_int_Sg__AddRange(std::vector< int > *self, std::vector< int > const &values)
SWIGINTERN std::vector< int64_t > * new_std_vector_Sl_int64_t_Sg___SWIG_2(int capacity)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_Init___(void *jarg1, int length2, int64_t *jarg2, int len3_1, int len3_2, int64_t *jarg3, int length4, int64_t *jarg4)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_getitem___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_RemoveAt___(void *jarg1, int jarg2)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__RemoveRange(std::vector< std::vector< int > > *self, int index, int count)
SWIGINTERN int std_vector_Sl_int_Sg__getitemcopy(std::vector< int > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_delete_IntVector___(void *jarg1)
SWIGINTERN long std_vector_Sl_int64_t_Sg__getitemcopy(std::vector< int64_t > *self, int index)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_IntVectorVector__SWIG_0___()
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_Repeat___(void *jarg1, int jarg2)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_BestSolutionContains___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_reserve___(void *jarg1, unsigned long jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_Add___(void *jarg1, void *jarg2)
SWIGINTERN bool std_vector_Sl_int_Sg__Remove(std::vector< int > *self, int const &value)
SWIGINTERN std::vector< int > std_vector_Sl_std_vector_Sl_int_Sg__Sg__getitemcopy(std::vector< std::vector< int > > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_Insert___(void *jarg1, int jarg2, void *jarg3)
SWIGINTERN void std_vector_Sl_int64_t_Sg__Reverse__SWIG_0(std::vector< int64_t > *self)
SWIGINTERN void std_vector_Sl_int_Sg__Reverse__SWIG_0(std::vector< int > *self)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_size___(void *jarg1)
SWIGINTERN int std_vector_Sl_int64_t_Sg__IndexOf(std::vector< int64_t > *self, long const &value)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_Insert___(void *jarg1, int jarg2, void *jarg3)
static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Contains___(void *jarg1, long long jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_InsertRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_delete_Int64VectorVector___(void *jarg1)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__RemoveAt(std::vector< std::vector< int64_t > > *self, int index)
static SWIG_CSharpException_t SWIG_csharp_exceptions[]
SWIGINTERN void std_vector_Sl_int64_t_Sg__InsertRange(std::vector< int64_t > *self, int index, std::vector< long > const &values)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_setitem___(void *jarg1, int jarg2, long long jarg3)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__Insert(std::vector< std::vector< int > > *self, int index, std::vector< int > const &x)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_Clear___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_IntVectorVector__SWIG_2___(int jarg1)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__setitem(std::vector< std::vector< int > > *self, int index, std::vector< int > const &val)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_capacity___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_setitem___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_AddRange___(void *jarg1, void *jarg2)
SWIGINTERN void std_vector_Sl_int64_t_Sg__Insert(std::vector< int64_t > *self, int index, long const &x)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_Reverse__SWIG_0___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_GetRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_SetRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Reverse__SWIG_1___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_delete_Int64Vector___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_Reverse__SWIG_1___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_size___(void *jarg1)
SWIGINTERN std::vector< int > * std_vector_Sl_int_Sg__GetRange(std::vector< int > *self, int index, int count)
SWIGINTERN std::vector< long >::value_type const & std_vector_Sl_int64_t_Sg__getitem(std::vector< int64_t > *self, int index)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__InsertRange(std::vector< std::vector< int64_t > > *self, int index, std::vector< std::vector< int64_t > > const &values)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_Remove___(void *jarg1, int jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_getitemcopy___(void *jarg1, int jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_Int64Vector__SWIG_1___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_InsertRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_getitemcopy___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Reverse__SWIG_0___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_Int64VectorVector__SWIG_0___()
SWIG_CSharpExceptionArgumentCodes
@ SWIG_CSharpArgumentException
@ SWIG_CSharpArgumentOutOfRangeException
@ SWIG_CSharpArgumentNullException
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_setitem___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionCallbacks_operations_research_algorithms(SWIG_CSharpExceptionCallback_t applicationCallback, SWIG_CSharpExceptionCallback_t arithmeticCallback, SWIG_CSharpExceptionCallback_t divideByZeroCallback, SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback, SWIG_CSharpExceptionCallback_t invalidCastCallback, SWIG_CSharpExceptionCallback_t invalidOperationCallback, SWIG_CSharpExceptionCallback_t ioCallback, SWIG_CSharpExceptionCallback_t nullReferenceCallback, SWIG_CSharpExceptionCallback_t outOfMemoryCallback, SWIG_CSharpExceptionCallback_t overflowCallback, SWIG_CSharpExceptionCallback_t systemCallback)
SWIGINTERN void std_vector_Sl_int_Sg__RemoveRange(std::vector< int > *self, int index, int count)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__Reverse__SWIG_0(std::vector< std::vector< int > > *self)
char *(SWIGSTDCALL * SWIG_CSharpStringHelperCallback)(const char *)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_IntVector__SWIG_2___(int jarg1)
SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_operations_research_algorithms(SWIG_CSharpStringHelperCallback callback)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_set_time_limit___(void *jarg1, double jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_KnapsackSolver__SWIG_0___(char *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Insert___(void *jarg1, int jarg2, long long jarg3)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_UseReduction___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_RemoveAt___(void *jarg1, int jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_GetRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_Add___(void *jarg1, void *jarg2)
SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_operations_research_algorithms(SWIG_CSharpExceptionArgumentCallback_t argumentCallback, SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback, SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_GetRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_capacity___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_delete_IntVectorVector___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_Int64VectorVector__SWIG_1___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_reserve___(void *jarg1, unsigned long jarg2)
SWIGINTERN std::vector< std::vector< int > > * std_vector_Sl_std_vector_Sl_int_Sg__Sg__Repeat(std::vector< int > const &value, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_RemoveAt___(void *jarg1, int jarg2)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_LastIndexOf___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_Clear___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_SetRange___(void *jarg1, int jarg2, void *jarg3)
SWIGINTERN void std_vector_Sl_int_Sg__setitem(std::vector< int > *self, int index, int const &val)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_AddRange___(void *jarg1, void *jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_RemoveRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_AddRange___(void *jarg1, void *jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_InsertRange___(void *jarg1, int jarg2, void *jarg3)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__RemoveAt(std::vector< std::vector< int > > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_SetRange___(void *jarg1, int jarg2, void *jarg3)
static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_IndexOf___(void *jarg1, long long jarg2)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__SetRange(std::vector< std::vector< int64_t > > *self, int index, std::vector< std::vector< int64_t > > const &values)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_getitemcopy___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_Reverse__SWIG_1___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_RemoveRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_reserve___(void *jarg1, unsigned long jarg2)
SWIGINTERN void std_vector_Sl_int64_t_Sg__Reverse__SWIG_1(std::vector< int64_t > *self, int index, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_RemoveRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_Int64Vector__SWIG_2___(int jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Repeat___(long long jarg1, int jarg2)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_getitemcopy___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_setitem___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_Solve___(void *jarg1)
SWIGINTERN int std_vector_Sl_int64_t_Sg__LastIndexOf(std::vector< int64_t > *self, long const &value)
SWIGINTERN void std_vector_Sl_int_Sg__RemoveAt(std::vector< int > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVector_Reverse__SWIG_0___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_GetRange___(void *jarg1, int jarg2, int jarg3)
SWIGINTERN std::vector< int >::value_type const & std_vector_Sl_int_Sg__getitem(std::vector< int > *self, int index)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Reverse__SWIG_1(std::vector< std::vector< int64_t > > *self, int index, int count)
SWIGINTERN std::vector< int64_t > std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__getitemcopy(std::vector< std::vector< int64_t > > *self, int index)
SWIGINTERN int std_vector_Sl_int_Sg__IndexOf(std::vector< int > *self, int const &value)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_IntVector__SWIG_1___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Add___(void *jarg1, long long jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_getitem___(void *jarg1, int jarg2)
SWIGINTERN void std_vector_Sl_int64_t_Sg__RemoveRange(std::vector< int64_t > *self, int index, int count)
SWIGINTERN void std_vector_Sl_int_Sg__SetRange(std::vector< int > *self, int index, std::vector< int > const &values)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_capacity___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_KnapsackSolver__SWIG_1___(int jarg1, char *jarg2)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__setitem(std::vector< std::vector< int64_t > > *self, int index, std::vector< int64_t > const &val)
SWIGINTERN std::vector< std::vector< int > >::value_type const & std_vector_Sl_std_vector_Sl_int_Sg__Sg__getitem(std::vector< std::vector< int > > *self, int index)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_IsSolutionOptimal___(void *jarg1)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_size___(void *jarg1)
SWIGINTERN void std_vector_Sl_int64_t_Sg__RemoveAt(std::vector< int64_t > *self, int index)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_new_Int64Vector__SWIG_0___()
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_SetRange___(void *jarg1, int jarg2, void *jarg3)
SWIG_CSharpExceptionCodes
@ SWIG_CSharpDivideByZeroException
@ SWIG_CSharpOutOfMemoryException
@ SWIG_CSharpArithmeticException
@ SWIG_CSharpSystemException
@ SWIG_CSharpApplicationException
@ SWIG_CSharpNullReferenceException
@ SWIG_CSharpInvalidCastException
@ SWIG_CSharpInvalidOperationException
@ SWIG_CSharpOverflowException
@ SWIG_CSharpIndexOutOfRangeException
SWIGEXPORT char *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_GetName___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_IntVectorVector_RemoveRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64VectorVector_Repeat___(void *jarg1, int jarg2)
SWIGINTERN void std_vector_Sl_int_Sg__Insert(std::vector< int > *self, int index, int const &x)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__AddRange(std::vector< std::vector< int > > *self, std::vector< std::vector< int > > const &values)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_InsertRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfAlgorithms_Int64Vector_size___(void *jarg1)
SWIG_CSharpExceptionCallback_t callback
SWIG_CSharpExceptionCodes code
SWIG_CSharpExceptionArgumentCodes code
SWIG_CSharpExceptionArgumentCallback_t callback