From 05e7e0cc04b7f4bd607533124fdcd29729fc7878 Mon Sep 17 00:00:00 2001
From: Pooja Babu
Date: Thu, 12 Sep 2024 14:43:17 +0200
Subject: [PATCH] Modify StepPatternBuilder to inherit from
BipartiteConnBuilder
---
src/step_pattern_builder.cpp | 3 ++-
src/step_pattern_builder.h | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/step_pattern_builder.cpp b/src/step_pattern_builder.cpp
index 8dd2921..4970a45 100644
--- a/src/step_pattern_builder.cpp
+++ b/src/step_pattern_builder.cpp
@@ -80,9 +80,10 @@
mynest::StepPatternBuilder::StepPatternBuilder( const nest::NodeCollectionPTR sources,
const nest::NodeCollectionPTR targets,
+ nest::ThirdOutBuilder* third_out,
const DictionaryDatum& conn_spec,
const std::vector< DictionaryDatum >& syn_spec )
- : nest::ConnBuilder( sources, targets, conn_spec, syn_spec )
+ : nest::BipartiteConnBuilder( sources, targets, third_out, conn_spec, syn_spec )
, source_step_( ( *conn_spec )[ Name( "source_step" ) ] )
, target_step_( ( *conn_spec )[ Name( "target_step" ) ] )
{
diff --git a/src/step_pattern_builder.h b/src/step_pattern_builder.h
index 042e3d1..e916617 100644
--- a/src/step_pattern_builder.h
+++ b/src/step_pattern_builder.h
@@ -29,11 +29,12 @@
namespace mynest
{
-class StepPatternBuilder : public nest::ConnBuilder
+class StepPatternBuilder : public nest::BipartiteConnBuilder
{
public:
StepPatternBuilder( const nest::NodeCollectionPTR sources,
const nest::NodeCollectionPTR targets,
+ nest::ThirdOutBuilder* third_out,
const DictionaryDatum& conn_spec,
const std::vector< DictionaryDatum >& syn_spec );