xgboost/include/rabit_serializable.h
tqchen 89244b4aec Squashed 'subtree/rabit/' changes from 16975b4..b15f6cd
b15f6cd rabit unifires with dmlc
5634ec3 ok
2dd6c2f Merge branch 'master' of ssh://github.com/dmlc/rabit
38d7f99 checkin wormhole spliter
8acb96a Merge pull request #10 from ryanzz/master
911a1f0 fixed a mistake
732d8c3 inteface changing
684ea0a inteface changing
8cb4c02 add dmlc support
be2ff70 allow adapting wormhole

git-subtree-dir: subtree/rabit
git-subtree-split: b15f6cd2ac4ac0e530df2b0a207d26868515f2d5
2015-04-05 09:56:53 -07:00

28 lines
665 B
C++

/*!
* Copyright (c) 2014 by Contributors
* \file rabit_serializable.h
* \brief defines serializable interface of rabit
* \author Tianqi Chen
*/
#ifndef RABIT_RABIT_SERIALIZABLE_H_
#define RABIT_RABIT_SERIALIZABLE_H_
#include <vector>
#include <string>
#include "./rabit/utils.h"
#include "./dmlc/io.h"
namespace rabit {
/*!
* \brief defines stream used in rabit
* see definition of IStream in dmlc/io.h
*/
typedef dmlc::IStream IStream;
/*!
* \brief defines serializable objects used in rabit
* see definition of ISerializable in dmlc/io.h
*/
typedef dmlc::ISerializable ISerializable;
} // namespace rabit
#endif // RABIT_RABIT_SERIALIZABLE_H_