TpgNodeList

class TpgNodeList : public TpgListBase

TpgNode のリスト

参考

TpgNode, TpgNodeIter

Public Functions

TpgNodeList() = default

空のコンストラクタ

inline explicit TpgNodeList(const std::shared_ptr<NetworkRep> &network, const std::vector<SizeType> &id_list = {})

値を指定したコンストラクタ

パラメータ:
  • network -- [in] 親のネットワーク

  • id_list -- [in] ノード番号のリスト

~TpgNodeList() = default

デストラクタ

inline TpgNode operator[](SizeType index) const

要素を返す.

パラメータ:

index -- [in] インデックス ( 0 <= index < size() );

inline iterator begin() const

先頭の反復子を返す.

inline iterator end() const

末尾の反復子を返す.

inline void push_back(const TpgNode &node)

要素を末尾に追加する.