Another temporary commit to merge with last version.

This commit is contained in:
EricLaoGitHub 2016-06-17 17:47:48 +02:00
parent c196e42fdf
commit 3038d09b27
1 changed files with 9 additions and 0 deletions

View File

@ -44,6 +44,13 @@ namespace Anabatic {
public: public:
inline bool operator() ( const Vertex* lhs, const Vertex* rhs ); inline bool operator() ( const Vertex* lhs, const Vertex* rhs );
}; };
public:
enum FlagR { NoRestriction = 0
, NRestricted = (1<<0)
, SRestricted = (1<<1)
, ERestricted = (1<<2)
, WRestricted = (1<<3)
};
public: public:
static DbU::Unit unreached; static DbU::Unit unreached;
public: public:
@ -248,6 +255,8 @@ namespace Anabatic {
bool _propagate ( Flags enabledSides ); bool _propagate ( Flags enabledSides );
void _selectFirstSource (); void _selectFirstSource ();
void _toWires (); void _toWires ();
bool isRestricted ( const Vertex* v1, const Vertex* v2 ) const;
private: private:
AnabaticEngine* _anabatic; AnabaticEngine* _anabatic;
vector<Vertex*> _vertexes; vector<Vertex*> _vertexes;