🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

multi-munkres

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multi-munkres - npm Package Compare versions

Comparing version
0.0.11
to
0.0.12
+8
-0
dist/es/index.js

@@ -115,3 +115,11 @@ function _arrayWithHoles(arr) {

}
/**
*
* @param perSlot 每个空槽需要的人数
* @param eachPerson 每个人对应每个空槽的cost
* @param personMax 每人能接受的最大空槽
* @param max 最大不予安排的cost值
*/
function multiMunkres() {

@@ -118,0 +126,0 @@ var perSlot = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [1, 1, 2, 1, 1];

@@ -119,3 +119,11 @@ 'use strict';

}
/**
*
* @param perSlot 每个空槽需要的人数
* @param eachPerson 每个人对应每个空槽的cost
* @param personMax 每人能接受的最大空槽
* @param max 最大不予安排的cost值
*/
function multiMunkres() {

@@ -122,0 +130,0 @@ var perSlot = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [1, 1, 2, 1, 1];

declare function calCost(totalSlot: number[][], eachPerson: number[][]): number;
/**
*
* @param perSlot 每个空槽需要的人数
* @param eachPerson 每个人对应每个空槽的cost
* @param personMax 每人能接受的最大空槽
* @param max 最大不予安排的cost值
*/
declare function multiMunkres(perSlot?: number[], eachPerson?: number[][], personMax?: number[], max?: number): any[][];
export { calCost, multiMunkres };
+1
-2
{
"name": "multi-munkres",
"version": "0.0.11",
"version": "0.0.12",
"description": "",

@@ -30,3 +30,2 @@ "files": [

"dependencies": {
"munkres-js": "^1.2.2"

@@ -33,0 +32,0 @@ },