@@ -593,11 +593,11 @@ class hypergraph final {
593593 }
594594
595595 gl_attr_force_inline void bind (
596- std::initializer_list<vertex_type> vertices, const id_type hyperedge_id
596+ std::initializer_list<vertex_type> vertices, const hyperedge_type& hyperedge
597597 )
598598 requires std::same_as<directional_tag, undirected_t>
599599 {
600- this ->bind (std::views::all (vertices), hyperedge_id );
600+ this ->bind (std::views::all (vertices), hyperedge );
601601 }
602602
603603 void bind (
@@ -630,11 +630,11 @@ class hypergraph final {
630630 }
631631
632632 gl_attr_force_inline void bind (
633- const id_type vertex_id , std::initializer_list<hyperedge_type> hyperedges
633+ const vertex_type& vertex , std::initializer_list<hyperedge_type> hyperedges
634634 )
635635 requires std::same_as<directional_tag, undirected_t>
636636 {
637- this ->bind (vertex_id , std::views::all (hyperedges));
637+ this ->bind (vertex , std::views::all (hyperedges));
638638 }
639639
640640 void bind_tail (const id_type vertex_id, const id_type hyperedge_id)
@@ -681,11 +681,11 @@ class hypergraph final {
681681 }
682682
683683 gl_attr_force_inline void bind_tail (
684- std::initializer_list<vertex_type> vertices, const id_type hyperedge_id
684+ std::initializer_list<vertex_type> vertices, const hyperedge_type& hyperedge
685685 )
686686 requires std::same_as<directional_tag, bf_directed_t>
687687 {
688- this ->bind_tail (std::views::all (vertices), hyperedge_id );
688+ this ->bind_tail (std::views::all (vertices), hyperedge );
689689 }
690690
691691 void bind_tail (
@@ -703,7 +703,7 @@ class hypergraph final {
703703 gl_attr_force_inline void bind_tail (
704704 const id_type vertex_id, std::initializer_list<id_type> hyperedge_ids
705705 )
706- requires std::same_as<directional_tag, undirected_t >
706+ requires std::same_as<directional_tag, bf_directed_t >
707707 {
708708 this ->bind_tail (vertex_id, std::views::all (hyperedge_ids));
709709 }
@@ -718,11 +718,11 @@ class hypergraph final {
718718 }
719719
720720 gl_attr_force_inline void bind_tail (
721- const id_type vertex_id , std::initializer_list<hyperedge_type> hyperedges
721+ const vertex_type& vertex , std::initializer_list<hyperedge_type> hyperedges
722722 )
723- requires std::same_as<directional_tag, undirected_t >
723+ requires std::same_as<directional_tag, bf_directed_t >
724724 {
725- this ->bind_tail (vertex_id , std::views::all (hyperedges));
725+ this ->bind_tail (vertex , std::views::all (hyperedges));
726726 }
727727
728728 void bind_head (const id_type vertex_id, const id_type hyperedge_id)
@@ -769,11 +769,11 @@ class hypergraph final {
769769 }
770770
771771 gl_attr_force_inline void bind_head (
772- std::initializer_list<vertex_type> vertices, const id_type hyperedge_id
772+ std::initializer_list<vertex_type> vertices, const hyperedge_type& hyperedge
773773 )
774774 requires std::same_as<directional_tag, bf_directed_t>
775775 {
776- this ->bind_head (std::views::all (vertices), hyperedge_id );
776+ this ->bind_head (std::views::all (vertices), hyperedge );
777777 }
778778
779779 void bind_head (
@@ -791,7 +791,7 @@ class hypergraph final {
791791 gl_attr_force_inline void bind_head (
792792 const id_type vertex_id, std::initializer_list<id_type> hyperedge_ids
793793 )
794- requires std::same_as<directional_tag, undirected_t >
794+ requires std::same_as<directional_tag, bf_directed_t >
795795 {
796796 this ->bind_head (vertex_id, std::views::all (hyperedge_ids));
797797 }
@@ -806,11 +806,11 @@ class hypergraph final {
806806 }
807807
808808 gl_attr_force_inline void bind_head (
809- const id_type vertex_id , std::initializer_list<hyperedge_type> hyperedges
809+ const vertex_type& vertex , std::initializer_list<hyperedge_type> hyperedges
810810 )
811- requires std::same_as<directional_tag, undirected_t >
811+ requires std::same_as<directional_tag, bf_directed_t >
812812 {
813- this ->bind_head (vertex_id , std::views::all (hyperedges));
813+ this ->bind_head (vertex , std::views::all (hyperedges));
814814 }
815815
816816 void unbind (const id_type vertex_id, const id_type hyperedge_id) {
0 commit comments