X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fengine%2FSwitch.hxx;h=be5b1c16fcb03f78102f8094d0c87ad8d4f555ed;hb=53629c53c7f47f2d86aa47e31206e836290f055a;hp=cc1471309f614678a095dbcbc906f44036551fcd;hpb=f31c1aa1cf3481bf51166f0c4e3dd118bc3ab43b;p=modules%2Fyacs.git diff --git a/src/engine/Switch.hxx b/src/engine/Switch.hxx index cc1471309..be5b1c16f 100644 --- a/src/engine/Switch.hxx +++ b/src/engine/Switch.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2006-2015 CEA/DEN, EDF R&D +// Copyright (C) 2006-2016 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -40,7 +40,7 @@ namespace YACS private: int edGetNumberOfOutLinks() const; std::set edSetInPort() const; - bool isAlreadyLinkedWith(InPort *with) const; + bool isAlreadyLinkedWith(InPort *withp) const; std::string getNameOfTypeOfCurrentInstance() const; void edRemoveAllLinksLinkedWithMe() throw(Exception); TypeOfChannel getTypeOfChannel() const; @@ -116,6 +116,8 @@ namespace YACS void writeDot(std::ostream &os) const; int getNumberOfInputPorts() const; int getMaxLevelOfParallelism() const; + double getWeightRegardingDPL() const; + void partitionRegardingDPL(const PartDefinition *pd, std::map >& zeMap); void edRemoveChild(Node *node) throw(Exception); std::list getSetOfInputPort() const; std::list getLocalInputPorts() const;