connection-scan-algorithm
Version:
Connection Scan Algorithm
16 lines (15 loc) • 452 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const ScanResults_1 = require("./ScanResults");
/**
* Creates a new ScanResults object for a given set of origins
*/
class ScanResultsFactory {
constructor(interchange) {
this.interchange = interchange;
}
create(origins) {
return new ScanResults_1.ScanResults(this.interchange, origins);
}
}
exports.ScanResultsFactory = ScanResultsFactory;
;