OR-Tools  9.2
graph_csharp_wrap.cc
Go to the documentation of this file.
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 4.0.2
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11
12#ifndef SWIGCSHARP
13#define SWIGCSHARP
14#endif
15
16
17
18#ifdef __cplusplus
19/* SwigValueWrapper is described in swig.swg */
20template<typename T> class SwigValueWrapper {
21 struct SwigMovePointer {
22 T *ptr;
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; }
26 } pointer;
27 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
28 SwigValueWrapper(const SwigValueWrapper<T>& rhs);
29public:
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; }
34};
35
36template <typename T> T SwigValueInit() {
37 return T();
38}
39#endif
40
41/* -----------------------------------------------------------------------------
42 * This section contains generic SWIG labels for method/variable
43 * declarations/attributes, and other compiler dependent labels.
44 * ----------------------------------------------------------------------------- */
45
46/* template workaround for compilers that cannot correctly implement the C++ standard */
47#ifndef SWIGTEMPLATEDISAMBIGUATOR
48# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
49# define SWIGTEMPLATEDISAMBIGUATOR template
50# elif defined(__HP_aCC)
51/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
52/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
53# define SWIGTEMPLATEDISAMBIGUATOR template
54# else
55# define SWIGTEMPLATEDISAMBIGUATOR
56# endif
57#endif
58
59/* inline attribute */
60#ifndef SWIGINLINE
61# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
62# define SWIGINLINE inline
63# else
64# define SWIGINLINE
65# endif
66#endif
67
68/* attribute recognised by some compilers to avoid 'unused' warnings */
69#ifndef SWIGUNUSED
70# if defined(__GNUC__)
71# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
72# define SWIGUNUSED __attribute__ ((__unused__))
73# else
74# define SWIGUNUSED
75# endif
76# elif defined(__ICC)
77# define SWIGUNUSED __attribute__ ((__unused__))
78# else
79# define SWIGUNUSED
80# endif
81#endif
82
83#ifndef SWIG_MSC_UNSUPPRESS_4505
84# if defined(_MSC_VER)
85# pragma warning(disable : 4505) /* unreferenced local function has been removed */
86# endif
87#endif
88
89#ifndef SWIGUNUSEDPARM
90# ifdef __cplusplus
91# define SWIGUNUSEDPARM(p)
92# else
93# define SWIGUNUSEDPARM(p) p SWIGUNUSED
94# endif
95#endif
96
97/* internal SWIG method */
98#ifndef SWIGINTERN
99# define SWIGINTERN static SWIGUNUSED
100#endif
101
102/* internal inline SWIG method */
103#ifndef SWIGINTERNINLINE
104# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
105#endif
106
107/* exporting methods */
108#if defined(__GNUC__)
109# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
110# ifndef GCC_HASCLASSVISIBILITY
111# define GCC_HASCLASSVISIBILITY
112# endif
113# endif
114#endif
115
116#ifndef SWIGEXPORT
117# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
118# if defined(STATIC_LINKED)
119# define SWIGEXPORT
120# else
121# define SWIGEXPORT __declspec(dllexport)
122# endif
123# else
124# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
125# define SWIGEXPORT __attribute__ ((visibility("default")))
126# else
127# define SWIGEXPORT
128# endif
129# endif
130#endif
131
132/* calling conventions for Windows */
133#ifndef SWIGSTDCALL
134# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
135# define SWIGSTDCALL __stdcall
136# else
137# define SWIGSTDCALL
138# endif
139#endif
140
141/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
142#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
143# define _CRT_SECURE_NO_DEPRECATE
144#endif
145
146/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
147#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
148# define _SCL_SECURE_NO_DEPRECATE
149#endif
150
151/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
152#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
153# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
154#endif
155
156/* Intel's compiler complains if a variable which was never initialised is
157 * cast to void, which is a common idiom which we use to indicate that we
158 * are aware a variable isn't used. So we just silence that warning.
159 * See: https://github.com/swig/swig/issues/192 for more discussion.
160 */
161#ifdef __INTEL_COMPILER
162# pragma warning disable 592
163#endif
164
165
166#include <stdlib.h>
167#include <string.h>
168#include <stdio.h>
169
170
171/* Support for throwing C# exceptions from C/C++. There are two types:
172 * Exceptions that take a message and ArgumentExceptions that take a message and a parameter name. */
173typedef enum {
186
187typedef enum {
192
193typedef void (SWIGSTDCALL* SWIG_CSharpExceptionCallback_t)(const char *);
194typedef void (SWIGSTDCALL* SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *);
195
196typedef struct {
200
201typedef struct {
205
213 { SWIG_CSharpIOException, NULL },
218};
219
224};
225
228 if ((size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) {
230 }
231 callback(msg);
232}
233
234static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name) {
236 if ((size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) {
238 }
239 callback(msg, param_name);
240}
241
242
243#ifdef __cplusplus
244extern "C"
245#endif
247 SWIG_CSharpExceptionCallback_t applicationCallback,
248 SWIG_CSharpExceptionCallback_t arithmeticCallback,
249 SWIG_CSharpExceptionCallback_t divideByZeroCallback,
250 SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback,
251 SWIG_CSharpExceptionCallback_t invalidCastCallback,
252 SWIG_CSharpExceptionCallback_t invalidOperationCallback,
254 SWIG_CSharpExceptionCallback_t nullReferenceCallback,
255 SWIG_CSharpExceptionCallback_t outOfMemoryCallback,
256 SWIG_CSharpExceptionCallback_t overflowCallback,
257 SWIG_CSharpExceptionCallback_t systemCallback) {
269}
270
271#ifdef __cplusplus
272extern "C"
273#endif
276 SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback,
277 SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback) {
281}
282
283
284/* Callback for returning strings to C# without leaking memory */
285typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
287
288
289#ifdef __cplusplus
290extern "C"
291#endif
294}
295
296
297/* Contract support */
298
299#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else
300
301
302#include <stdint.h> // Use the C99 official header
303
304
305#include <cstdint>
306#include <string>
307#include <vector>
308
310
311
312#include <string>
313
314
318
319
320#ifdef __cplusplus
321extern "C" {
322#endif
323
325 void * jresult ;
327
329 jresult = (void *)result;
330 return jresult;
331}
332
333
334SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MaxFlow_AddArcWithCapacity___(void * jarg1, int jarg2, int jarg3, long long jarg4) {
335 int jresult ;
341
342 arg1 = (operations_research::SimpleMaxFlow *)jarg1;
343 arg2 = (operations_research::NodeIndex)jarg2;
344 arg3 = (operations_research::NodeIndex)jarg3;
346 result = (operations_research::ArcIndex)(arg1)->AddArcWithCapacity(arg2,arg3,arg4);
347 jresult = result;
348 return jresult;
349}
350
351
353 int jresult ;
356
357 arg1 = (operations_research::SimpleMaxFlow *)jarg1;
358 result = (operations_research::NodeIndex)((operations_research::SimpleMaxFlow const *)arg1)->NumNodes();
359 jresult = result;
360 return jresult;
361}
362
363
365 int jresult ;
368
369 arg1 = (operations_research::SimpleMaxFlow *)jarg1;
370 result = (operations_research::ArcIndex)((operations_research::SimpleMaxFlow const *)arg1)->NumArcs();
371 jresult = result;
372 return jresult;
373}
374
375
377 int jresult ;
381
382 arg1 = (operations_research::SimpleMaxFlow *)jarg1;
383 arg2 = (operations_research::ArcIndex)jarg2;
384 result = (operations_research::NodeIndex)((operations_research::SimpleMaxFlow const *)arg1)->Tail(arg2);
385 jresult = result;
386 return jresult;
387}
388
389
391 int jresult ;
395
396 arg1 = (operations_research::SimpleMaxFlow *)jarg1;
397 arg2 = (operations_research::ArcIndex)jarg2;
398 result = (operations_research::NodeIndex)((operations_research::SimpleMaxFlow const *)arg1)->Head(arg2);
399 jresult = result;
400 return jresult;
401}
402
403
405 long long jresult ;
409
410 arg1 = (operations_research::SimpleMaxFlow *)jarg1;
411 arg2 = (operations_research::ArcIndex)jarg2;
412 result = (operations_research::FlowQuantity)((operations_research::SimpleMaxFlow const *)arg1)->Capacity(arg2);
413 jresult = result;
414 return jresult;
415}
416
417
419 int jresult ;
424
425 arg1 = (operations_research::SimpleMaxFlow *)jarg1;
426 arg2 = (operations_research::NodeIndex)jarg2;
427 arg3 = (operations_research::NodeIndex)jarg3;
428 result = (operations_research::SimpleMaxFlow::Status)(arg1)->Solve(arg2,arg3);
429 jresult = (int)result;
430 return jresult;
431}
432
433
435 long long jresult ;
438
439 arg1 = (operations_research::SimpleMaxFlow *)jarg1;
440 result = (operations_research::FlowQuantity)((operations_research::SimpleMaxFlow const *)arg1)->OptimalFlow();
441 jresult = result;
442 return jresult;
443}
444
445
447 long long jresult ;
451
452 arg1 = (operations_research::SimpleMaxFlow *)jarg1;
453 arg2 = (operations_research::ArcIndex)jarg2;
454 result = (operations_research::FlowQuantity)((operations_research::SimpleMaxFlow const *)arg1)->Flow(arg2);
455 jresult = result;
456 return jresult;
457}
458
459
462
463 arg1 = (operations_research::SimpleMaxFlow *)jarg1;
464 delete arg1;
465}
466
467
469 void * jresult ;
471
473 jresult = (void *)result;
474 return jresult;
475}
476
477
480
482 delete arg1;
483}
484
485
487 void * jresult ;
491
492 arg1 = (operations_research::NodeIndex)jarg1;
493 arg2 = (operations_research::ArcIndex)jarg2;
495 jresult = (void *)result;
496 return jresult;
497}
498
499
501 void * jresult ;
504
505 arg1 = (operations_research::NodeIndex)jarg1;
507 jresult = (void *)result;
508 return jresult;
509}
510
511
513 void * jresult ;
515
517 jresult = (void *)result;
518 return jresult;
519}
520
521
522SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_AddArcWithCapacityAndUnitCost___(void * jarg1, int jarg2, int jarg3, long long jarg4, long long jarg5) {
523 int jresult ;
530
532 arg2 = (operations_research::NodeIndex)jarg2;
533 arg3 = (operations_research::NodeIndex)jarg3;
535 arg5 = (operations_research::CostValue)jarg5;
536 result = (operations_research::ArcIndex)(arg1)->AddArcWithCapacityAndUnitCost(arg2,arg3,arg4,arg5);
537 jresult = result;
538 return jresult;
539}
540
541
546
548 arg2 = (operations_research::NodeIndex)jarg2;
550 (arg1)->SetNodeSupply(arg2,arg3);
551}
552
553
555 int jresult ;
558
561 jresult = (int)result;
562 return jresult;
563}
564
565
567 int jresult ;
570
573 jresult = (int)result;
574 return jresult;
575}
576
577
579 long long jresult ;
582
584 result = (operations_research::CostValue)((operations_research::SimpleMinCostFlow const *)arg1)->OptimalCost();
585 jresult = result;
586 return jresult;
587}
588
589
591 long long jresult ;
594
596 result = (operations_research::FlowQuantity)((operations_research::SimpleMinCostFlow const *)arg1)->MaximumFlow();
597 jresult = result;
598 return jresult;
599}
600
601
603 long long jresult ;
607
609 arg2 = (operations_research::ArcIndex)jarg2;
611 jresult = result;
612 return jresult;
613}
614
615
617 int jresult ;
620
623 jresult = result;
624 return jresult;
625}
626
627
629 int jresult ;
632
635 jresult = result;
636 return jresult;
637}
638
639
641 int jresult ;
645
647 arg2 = (operations_research::ArcIndex)jarg2;
649 jresult = result;
650 return jresult;
651}
652
653
655 int jresult ;
659
661 arg2 = (operations_research::ArcIndex)jarg2;
663 jresult = result;
664 return jresult;
665}
666
667
669 long long jresult ;
673
675 arg2 = (operations_research::ArcIndex)jarg2;
676 result = (operations_research::FlowQuantity)((operations_research::SimpleMinCostFlow const *)arg1)->Capacity(arg2);
677 jresult = result;
678 return jresult;
679}
680
681
683 long long jresult ;
687
689 arg2 = (operations_research::NodeIndex)jarg2;
691 jresult = result;
692 return jresult;
693}
694
695
697 long long jresult ;
701
703 arg2 = (operations_research::ArcIndex)jarg2;
704 result = (operations_research::CostValue)((operations_research::SimpleMinCostFlow const *)arg1)->UnitCost(arg2);
705 jresult = result;
706 return jresult;
707}
708
709
712
714 delete arg1;
715}
716
717
719 void * jresult ;
721
723 jresult = (void *)result;
724 return jresult;
725}
726
727
728SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_LinearSumAssignment_AddArcWithCost___(void * jarg1, int jarg2, int jarg3, long long jarg4) {
729 int jresult ;
735
737 arg2 = (operations_research::NodeIndex)jarg2;
738 arg3 = (operations_research::NodeIndex)jarg3;
739 arg4 = (operations_research::CostValue)jarg4;
740 result = (operations_research::ArcIndex)(arg1)->AddArcWithCost(arg2,arg3,arg4);
741 jresult = result;
742 return jresult;
743}
744
745
747 int jresult ;
750
753 jresult = result;
754 return jresult;
755}
756
757
759 int jresult ;
762
765 jresult = result;
766 return jresult;
767}
768
769
771 int jresult ;
775
777 arg2 = (operations_research::ArcIndex)jarg2;
779 jresult = result;
780 return jresult;
781}
782
783
785 int jresult ;
789
791 arg2 = (operations_research::ArcIndex)jarg2;
793 jresult = result;
794 return jresult;
795}
796
797
799 long long jresult ;
803
805 arg2 = (operations_research::ArcIndex)jarg2;
807 jresult = result;
808 return jresult;
809}
810
811
813 int jresult ;
816
819 jresult = (int)result;
820 return jresult;
821}
822
823
825 long long jresult ;
828
831 jresult = result;
832 return jresult;
833}
834
835
837 int jresult ;
841
843 arg2 = (operations_research::NodeIndex)jarg2;
845 jresult = result;
846 return jresult;
847}
848
849
851 long long jresult ;
855
857 arg2 = (operations_research::NodeIndex)jarg2;
858 result = (operations_research::CostValue)((operations_research::SimpleLinearSumAssignment const *)arg1)->AssignmentCost(arg2);
859 jresult = result;
860 return jresult;
861}
862
863
866
868 delete arg1;
869}
870
871
874}
875
876#ifdef __cplusplus
877}
878#endif
879
ArcIndex AddArcWithCost(NodeIndex left_node, NodeIndex right_node, CostValue cost)
Status Solve(NodeIndex source, NodeIndex sink)
Definition: max_flow.cc:55
ArcIndex AddArcWithCapacity(NodeIndex tail, NodeIndex head, FlowQuantity capacity)
Definition: max_flow.cc:28
ArcIndex AddArcWithCapacityAndUnitCost(NodeIndex tail, NodeIndex head, FlowQuantity capacity, CostValue unit_cost)
static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[]
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_Capacity___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfGraph_delete_MinCostFlow___(void *jarg1)
void(SWIGSTDCALL * SWIG_CSharpExceptionCallback_t)(const char *)
void(SWIGSTDCALL * SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_LinearSumAssignment_Solve___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MaxFlow_NumNodes___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_LinearSumAssignment_LeftNode___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfGraph_delete_LinearSumAssignment___(void *jarg1)
static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_OptimalCost___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_NumNodes___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_LinearSumAssignment_RightNode___(void *jarg1, int jarg2)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MaxFlow_OptimalFlow___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfGraph_new_MinCostFlowBase___()
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_Solve___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MaxFlow_Head___(void *jarg1, int jarg2)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_AddArcWithCapacityAndUnitCost___(void *jarg1, int jarg2, int jarg3, long long jarg4, long long jarg5)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_Head___(void *jarg1, int jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfGraph_new_MinCostFlow__SWIG_2___()
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfGraph_delete_MaxFlow___(void *jarg1)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_LinearSumAssignment_Cost___(void *jarg1, int jarg2)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MaxFlow_Capacity___(void *jarg1, int jarg2)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MaxFlow_AddArcWithCapacity___(void *jarg1, int jarg2, int jarg3, long long jarg4)
static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback
#define SWIGUNUSED
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_Tail___(void *jarg1, int jarg2)
static SWIG_CSharpException_t SWIG_csharp_exceptions[]
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MaxFlow_NumArcs___(void *jarg1)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_MaximumFlow___(void *jarg1)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_LinearSumAssignment_OptimalCost___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_LinearSumAssignment_RightMate___(void *jarg1, int jarg2)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_LinearSumAssignment_NumArcs___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfGraph_new_LinearSumAssignment___()
SWIG_CSharpExceptionArgumentCodes
@ SWIG_CSharpArgumentException
@ SWIG_CSharpArgumentOutOfRangeException
@ SWIG_CSharpArgumentNullException
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_LinearSumAssignment_AssignmentCost___(void *jarg1, int jarg2)
char *(SWIGSTDCALL * SWIG_CSharpStringHelperCallback)(const char *)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfGraph_delete_MinCostFlowBase___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionCallbacks_operations_research_graph(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)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_SetNodeSupply___(void *jarg1, int jarg2, long long jarg3)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_Flow___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_operations_research_graph(SWIG_CSharpStringHelperCallback callback)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfGraph_new_MaxFlow___()
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_Supply___(void *jarg1, int jarg2)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_UnitCost___(void *jarg1, int jarg2)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MaxFlow_Solve___(void *jarg1, int jarg2, int jarg3)
static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfGraph_new_MinCostFlow__SWIG_1___(int jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MaxFlow_Tail___(void *jarg1, int jarg2)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_SolveMaxFlowWithMinCost___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_NumArcs___(void *jarg1)
SWIGEXPORT operations_research::MinCostFlowBase *SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MinCostFlow_SWIGUpcast___(operations_research::SimpleMinCostFlow *jarg1)
#define SWIGSTDCALL
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfGraph_new_MinCostFlow__SWIG_0___(int jarg1, int jarg2)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_LinearSumAssignment_AddArcWithCost___(void *jarg1, int jarg2, int jarg3, long long jarg4)
SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_operations_research_graph(SWIG_CSharpExceptionArgumentCallback_t argumentCallback, SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback, SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback)
#define SWIGEXPORT
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfGraph_MaxFlow_Flow___(void *jarg1, int jarg2)
SWIG_CSharpExceptionCodes
@ SWIG_CSharpDivideByZeroException
@ SWIG_CSharpOutOfMemoryException
@ SWIG_CSharpArithmeticException
@ SWIG_CSharpSystemException
@ SWIG_CSharpApplicationException
@ SWIG_CSharpNullReferenceException
@ SWIG_CSharpInvalidCastException
@ SWIG_CSharpInvalidOperationException
@ SWIG_CSharpOverflowException
@ SWIG_CSharpIOException
@ SWIG_CSharpIndexOutOfRangeException
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfGraph_LinearSumAssignment_NumNodes___(void *jarg1)
MPCallback * callback
SWIG_CSharpExceptionArgumentCodes
SWIG_CSharpExceptionCallback_t callback
SWIG_CSharpExceptionArgumentCallback_t callback