--- /dev/null
+#include "IndexList.h"
+
+#include <algorithm>
+
+namespace neurun
+{
+namespace graph
+{
+namespace operation
+{
+
+IndexList::IndexList(std::initializer_list<Index> list) : _list(list)
+{
+ // DO NOTHING
+}
+
+bool IndexList::contains(const ::neurun::graph::operation::Index &index) const
+{
+ return std::find(_list.begin(), _list.end(), index) != _list.end();
+}
+
+} // namespace operation
+} // namespace graph
+} // namespace neurun
--- /dev/null
+#ifndef __NEURUN_GRAPH_OPERATION_INDEX_LIST_H__
+#define __NEURUN_GRAPH_OPERATION_INDEX_LIST_H__
+
+#include <initializer_list>
+#include <list>
+
+#include "Index.h"
+
+namespace neurun
+{
+namespace graph
+{
+namespace operation
+{
+
+class IndexList
+{
+public:
+ IndexList(void) = default;
+ IndexList(std::initializer_list<Index> list);
+
+public:
+ void append(const Index &index) { _list.push_back(index); }
+ void remove(const Index &index) { _list.remove(index); }
+
+public:
+ uint32_t size() const { return static_cast<uint32_t>(_list.size()); }
+ const std::list<Index> &list() const { return _list; }
+ bool contains(const Index &index) const;
+
+private:
+ std::list<Index> _list;
+};
+
+} // namespace operation
+} // namespace graph
+} // namespace neurun
+
+#endif // __NEURUN_GRAPH_OPERATION_INDEX_LIST_H__