We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如下代码:
// 验证是否满足第二个约束式 idx_use = find_arc_idx*arcs_num; isValid = true; for (int i = 0; i < group_num; i++) { int tmpData_i = temp[i];
--------------->// check_val= Matrix[find_arc_idx, tmpData_i] check_val = link_data[idx_use + tmpData_i]; if (check_val == 0) // L{i,k} ==0 ,there needs to use CASE_1 to varify whether L_{i,k} = -1. { -------------------->// 计算的是[point_idx, tmpData_i] temp_val = CASE_1(_asrs_data + point_idx, _asrs_data + tmpData_i); if (temp_val == -1) { -------------------------->// 赋值给了[find_arc_idx, tmpData_i]和[tmpData_i, point_idx] _link_data[idx_use + tmpData_i] = _link_data[tmpData_i * arcs_num + point_idx] = -1; isValid = false; break; } } else if (check_val == -1) { isValid = false; break; } }
是不是搞错了,应该全部是find_arc_idx?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如下代码:
--------------->// check_val= Matrix[find_arc_idx, tmpData_i]
check_val = link_data[idx_use + tmpData_i];
if (check_val == 0) // L{i,k} ==0 ,there needs to use CASE_1 to varify whether L_{i,k} = -1.
{
-------------------->// 计算的是[point_idx, tmpData_i]
temp_val = CASE_1(_asrs_data + point_idx, _asrs_data + tmpData_i);
if (temp_val == -1)
{
-------------------------->// 赋值给了[find_arc_idx, tmpData_i]和[tmpData_i, point_idx]
_link_data[idx_use + tmpData_i] = _link_data[tmpData_i * arcs_num + point_idx] = -1;
isValid = false;
break;
}
}
else if (check_val == -1)
{
isValid = false;
break;
}
}
是不是搞错了,应该全部是find_arc_idx?
The text was updated successfully, but these errors were encountered: