File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,6 @@ class SetOfEdgeRefs : public Abstract::SetOfEdgeRefs {
427427public:
428428};
429429
430-
431430template <typename StateLabelType, typename EdgeLabelType>
432431using StateRef = const State<StateLabelType, EdgeLabelType> *;
433432
@@ -658,7 +657,7 @@ class FiniteStateMachine : public Abstract::FiniteStateMachine {
658657 return this ->states ;
659658 };
660659
661- [[nodiscard]] const SetOfEdges<StateLabelType, EdgeLabelType> &getEdges () const override {
660+ [[nodiscard]] const SetOfEdges<StateLabelType, EdgeLabelType> &getEdges () const override {
662661 return this ->edges ;
663662 };
664663
@@ -693,8 +692,9 @@ class FiniteStateMachine : public Abstract::FiniteStateMachine {
693692 return nullptr ;
694693 };
695694
696- void setEdgeLabel (const EdgeRef<StateLabelType, EdgeLabelType>& e, const EdgeLabelType& l) {
697- auto ee = std::dynamic_pointer_cast<Edge<StateLabelType, EdgeLabelType>>((*this ->edges .find (e->getId ())).second );
695+ void setEdgeLabel (const EdgeRef<StateLabelType, EdgeLabelType> &e, const EdgeLabelType &l) {
696+ auto ee = std::dynamic_pointer_cast<Edge<StateLabelType, EdgeLabelType>>(
697+ (*this ->edges .find (e->getId ())).second );
698698 ee->setLabel (l);
699699 }
700700
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ using ELSEdgeRef = ::FSM::Labeled::EdgeRef<CId, MPString>;
5555using ELSSetOfStates = ::FSM::Labeled::SetOfStates<CId, MPString>;
5656using ELSSetOfEdges = ::FSM::Labeled::SetOfEdges<CId, MPString>;
5757
58-
5958using MLSEdgeLabel = struct MLSEdgeLabel {
6059 Matrix *mat;
6160 CDouble rew;
@@ -66,7 +65,6 @@ using MLSEdge = ::FSM::Labeled::Edge<CId, MLSEdgeLabel>;
6665using MLSSetOfStates = ::FSM::Labeled::SetOfStates<CId, MLSEdgeLabel>;
6766using MLSSetOfEdges = ::FSM::Abstract::SetOfEdges;
6867
69-
7068} // namespace MaxPlus
7169
7270#endif // MAXPLUS_GRAPH_MPSTATESPACE_H
You can’t perform that action at this time.
0 commit comments