milvus/cpp/src/scheduler/Algorithm.h
Yu Kun 576e7f12a4 MS-455 Distribute tasks by minimal cost in scheduler
Former-commit-id: 11b0752a1b4d19b94fca51701ce2abaece2ef4b8
2019-09-02 10:54:29 +08:00

25 lines
685 B
C++

/*******************************************************************************
* Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited.
* Proprietary and confidential.
******************************************************************************/
#include "resource/Resource.h"
#include "ResourceMgr.h"
#include <vector>
#include <string>
namespace zilliz {
namespace milvus {
namespace engine {
uint64_t
ShortestPath(const ResourcePtr &src,
const ResourcePtr &dest,
const ResourceMgrPtr &res_mgr,
std::vector<std::string>& path);
}
}
}