///home/berryj/link/bin/genMethods "-g" "-t" "Sequence<Edge*>" "-h" "Collection" "-c" "Edge*" "-I" "LINK/graph/Edge.h" "-I" "LINK/stkWrapper/SetFuncsWrapper.h" "-I" "LINK/basic/SetFuncs.h" "-I" "LINK/basic/Sequence.h" "-d" "graph" 
#include <stk.h>
#include <LINK/stkWrapper/LINK_STk.h>

#include <LINK/graph/Edge.h>

#include <LINK/stkWrapper/SetFuncsWrapper.h>

#include <LINK/basic/SetFuncs.h>

#include <LINK/basic/Sequence.h>

#include <LINK/stkWrapper/Wrapper.h>
#include <LINK/stkWrapper/Register.h>
#include <LINK/stkWrapper/CollectionWrapper.h>


typedef Sequence<Edge*> _Sequence_Edge__;
typedef Collection<Sequence<Edge*> > _Collection_Sequence_Edge___;

#define _Collection_Sequence_Edge___DATA(x) ((Collection<Sequence<Edge*> >*) (EXTDATA(x)))
#define _Collection_Sequence_Edge___IS_DATA(x) (TYPEP(x, tc_CXXwrapper) && \
		TYPEP(STk_slot_ref(x,val_scm), tc_CXXwrapper) && \
		(EXTID(STk_slot_ref(x,val_scm)) == Wrapper<Collection<Sequence<Edge*> > >::type))
#define _Collection_Sequence_Edge___ISNT_DATA(x) (!_Collection_Sequence_Edge___IS_DATA(x))

#define _Collection_Sequence_Edge___CXX_DATA(x) (*(Collection<Sequence<Edge*> >*) (EXTDATA(VAL(x))))
#define _Collection_Sequence_Edge___CXX_IS_DATA(x) (INSTANCEP(x) && \
		TYPEP(STk_slot_ref(x,val_scm), tc_CXXwrapper) && \
		(EXTID(STk_slot_ref(x,val_scm)) == Wrapper<Collection<Sequence<Edge*> > >::type))
#define _Collection_Sequence_Edge___CXX_ISNT_DATA(x) (!_Collection_Sequence_Edge___CXX_IS_DATA(x))


PRIMITIVE STk_init__Collection_Sequence_Edge___()
{
	Wrapper<_Collection_Sequence_Edge___>::type = STk_new_CXXwrapper_id(
			Wrapper<_Collection_Sequence_Edge___>::name, 
			"",
			(void (*)(SCM x, SCM port, int mode))
			CollectionWrapper<_Sequence_Edge__>::displayTypedCollection,
			(void (*)(SCM x))CollectionWrapper<_Sequence_Edge__>::markTypedCollection,
			(void (*)(SCM x))CollectionWrapper<_Sequence_Edge__>::freeTypedCollection);
	Tcl_InitHashTable(&Register<_Collection_Sequence_Edge___>::objTable, TCL_ONE_WORD_KEYS);
	return UNDEFINED;
}

void genExtra_Collection_Sequence_Edge___Methods(void);

PRIMITIVE STk_init_methods__Collection_Sequence_Edge___()
{
	STk_add_new_cpp_primitive("collection-Sequence-Edge?", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::collectionP);
	STk_add_new_cpp_primitive("mset-Sequence-Edge1", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::buildMSet);
	STk_add_new_cpp_primitive("set-Sequence-Edge1", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::buildSet);
	STk_add_new_cpp_primitive("sequence-Sequence-Edge1", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::buildSequence);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-sorted?", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::sortedLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-size", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::sizeLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-null?", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::nullLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-eqv?", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::eqvLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-<", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::lthLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-<=", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::leLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge->", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::grLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge->=", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::geLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-member", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::memberLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-clear!", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::clearLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-insert!", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::insertLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-append!", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::appendLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-remove!", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::removeLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-occurrences", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::occurrencesLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-ref", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::refLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-rank", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::rankLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-+", tc_subr_1_or_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::unionLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-^", tc_subr_1_or_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::intersectionLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge--", tc_subr_1_or_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::differenceLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-subset", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::subsetLinkCollection);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-proper-subset", tc_subr_2, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::properSubsetLinkCollection);
	STk_add_new_cpp_primitive("list->mset-Sequence-Edge", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::stkList2LinkMSet);
	STk_add_new_cpp_primitive("list->set-Sequence-Edge", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::stkList2LinkSet);
	STk_add_new_cpp_primitive("list->sequence-Sequence-Edge", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::stkList2LinkSequence);
	STk_add_new_cpp_primitive("mset-Sequence-Edge->list", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::collection2STkList);
	STk_add_new_cpp_primitive("set-Sequence-Edge->list", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::collection2STkList);
	STk_add_new_cpp_primitive("sequence-Sequence-Edge->list", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::collection2STkList);
	STk_add_new_cpp_primitive("mset-Sequence-Edge->string", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::collection2STkString);
	STk_add_new_cpp_primitive("set-Sequence-Edge->string", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::collection2STkString);
	STk_add_new_cpp_primitive("sequence-Sequence-Edge->string", tc_subr_1, 
	(PRIMITIVE (*)(...))  CollectionWrapper<_Sequence_Edge__>::collection2STkString);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-cartesian-product", tc_subr_2, 
	(PRIMITIVE (*)(...))  SetFuncsWrapper<Edge* >::cartesianProduct);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-choose", tc_subr_2, 
	(PRIMITIVE (*)(...))  SetFuncsWrapper<Edge* >::choose);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-power-set", tc_subr_1, 
	(PRIMITIVE (*)(...))  SetFuncsWrapper<Edge* >::powerSet);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-permutations", tc_subr_1, 
	(PRIMITIVE (*)(...))  SetFuncsWrapper<Edge* >::permutations);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-permutation", tc_subr_2, 
	(PRIMITIVE (*)(...))  SetFuncsWrapper<Edge* >::permutation);
	STk_add_new_cpp_primitive("Collection-Sequence-Edge-permutation-rank", tc_subr_1, 
	(PRIMITIVE (*)(...))  SetFuncsWrapper<Edge* >::rank);

	addListMethod("mset-Sequence-Edge",
		"mset-Sequence-Edge1", LINK_NEW);
	addListMethod("set-Sequence-Edge",
		"set-Sequence-Edge1", LINK_NEW);
	addListMethod("sequence-Sequence-Edge",
		"sequence-Sequence-Edge1", LINK_NEW);
	addOneArgMethod("null?",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-null?", LINK_OVL);
	addOneArgMethod("size",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-size", LINK_NEW);
	addTwoArgMethod("eqv?",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-eqv?", LINK_OVL);
	addBooleanMethod("<",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-<", LINK_OVL);
	addBooleanMethod("<=",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-<=", LINK_OVL);
	addBooleanMethod(">",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge->", LINK_OVL);
	addBooleanMethod(">=",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge->=", LINK_OVL);
	addTwoArgMethod("member",
		Wrapper<_Sequence_Edge__ >::name, 
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-member", LINK_OVL);
	addTwoArgMethod("ref",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"<integer>",
		"Collection-Sequence-Edge-ref", LINK_NEW);
	addOneArgMethod("clear!",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-clear!", LINK_NEW);
	addTwoArgMethod("insert!",
		Wrapper<_Sequence_Edge__ >::name, 
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-insert!", LINK_NEW);
	addTwoArgMethod("append!",
		Wrapper<_Sequence_Edge__ >::name, 
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-append!", LINK_NEW);
	addTwoArgMethod("remove!",
		Wrapper<_Sequence_Edge__ >::name, 
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-remove!", LINK_NEW);
	addArbMethod("+",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-+", LINK_OVL);
	addArbMethod("^",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge-^", LINK_NEW);
	addArbMethod("-",
		Wrapper<_Collection_Sequence_Edge___ >::name, 
		"Collection-Sequence-Edge--", LINK_OVL);
	addTwoArgMethod("cartesian-product",
		Wrapper<_Sequence_Edge__ >::name, 
		Wrapper<_Sequence_Edge__ >::name, 
		"Collection-Sequence-Edge-cartesian-product", LINK_NEW);
	addTwoArgMethod("choose",
		Wrapper<_Sequence_Edge__ >::name, 
		"<integer>",
		"Collection-Sequence-Edge-choose", LINK_NEW);
	addOneArgMethod("power-set",
		Wrapper<_Sequence_Edge__ >::name, 
		"Collection-Sequence-Edge-power-set", LINK_NEW);
	addOneArgMethod("permutations",
		Wrapper<_Sequence_Edge__ >::name, 
		"Collection-Sequence-Edge-permutations", LINK_NEW);
	addTwoArgMethod("permutation",
		Wrapper<_Sequence_Edge__ >::name, 
		"<integer>",
		"Collection-Sequence-Edge-permutation", LINK_NEW);
	addOneArgMethod("permutation-rank",
		Wrapper<_Sequence_Edge__ >::name, 
		"Collection-Sequence-Edge-permutation-rank", LINK_NEW);
	genExtra_Collection_Sequence_Edge___Methods();
	return UNDEFINED;
}
