@ultipa-graph/ultipa-driver
Version:
NodeJS SDK for ultipa-server 5.2
24 lines • 1.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AlgorithmsDegrees = void 0;
const connection_base_1 = require("../connection.base");
const algo_utils_1 = require("./algo.utils");
class AlgorithmsDegrees extends connection_base_1.ConnectionBase {
async __common_AlgorithmsDegrees(req, name, commonReq) {
return (0, algo_utils_1.algoCommonSend)(this, req, name, commonReq);
}
async algo_degree(req, commonReq) {
return this.__common_AlgorithmsDegrees(req, "algo_degree", commonReq);
}
async algo_closeness_centrality(req, commonReq) {
return this.__common_AlgorithmsDegrees(req, "algo_closeness", commonReq);
}
async algo_graph_centrality(req, commonReq) {
return this.__common_AlgorithmsDegrees(req, "algo_graph_centrality", commonReq);
}
async algo_betweenness_centrality(req, commonReq) {
return this.__common_AlgorithmsDegrees(req, "algo_betweenness_centrality", commonReq);
}
}
exports.AlgorithmsDegrees = AlgorithmsDegrees;
//# sourceMappingURL=degrees.js.map