8 #include "L1NormLCAProbe.hpp" 9 #include "../layers/HyPerLCALayer.hpp" 13 L1NormLCAProbe::L1NormLCAProbe(
const char *name, HyPerCol *hc) {
18 L1NormLCAProbe::L1NormLCAProbe() { initialize_base(); }
28 if (targetLCALayer == NULL) {
29 if (parent->columnId() == 0) {
31 "%s: targetLayer \"%s\" is not an LCA layer.\n",
35 MPI_Barrier(parent->getCommunicator()->communicator());
39 if (parent->columnId() == 0) {
41 "%s: LCAProbes require targetLayer \"%s\" to use " 42 "VThresh etc. instead of " 43 "verticesV/verticesV.\n",
47 MPI_Barrier(parent->getCommunicator()->communicator());
50 coefficient = targetLCALayer->getVThresh();
51 return Response::SUCCESS;
virtual Response::Status communicateInitInfo(std::shared_ptr< CommunicateInitInfoMessage const > message) override
bool layerListsVerticesInParams() const
virtual Response::Status communicateInitInfo(std::shared_ptr< CommunicateInitInfoMessage const > message) override
const char * getTargetName()
static bool completed(Status &a)