zpi2011asvis/asvis — Issue #31: Błąd w liczeniu distance
Author: Reinmar
Created: 2011-11-09 21:00:37+00:00
State: open

http://asvis.local.pl/backend/structure/graph/1456/2

```javascript
{
"structure": {
"1456": {
"out": [1477, 27064],
"in": [1477, 27064],
"distance": 0,
"weight": 4
},
"1477": {
"out": [1456, 27064],
"in": [1456, 27064],
"distance": 1,
"weight": 4
},
"27064": {
"out": [1456, 1477],
"in": [1456, 1477],
"distance": 2,
"weight": 4
}
},
"weight_order": [27064, 1477, 1456],
"distance_order": [1456, 1477, 27064]
}
```

Depth nie jest poprawną głębokością. Rozmawialiśmy o tym.
Wróć do mojego kodu: https://github.com/zpi2011asvis/asvis/blob/c85a520f40ec7af2c903dc341db367bb13f40a0e/backend/lib/OrientConnectionsMapper.php#L103