simulation-alg 0.1.13__tar.gz → 0.1.14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/Cargo.lock +1 -1
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/Cargo.toml +1 -1
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/PKG-INFO +1 -1
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/pyproject.toml +1 -1
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/src/graph/hypergraph.rs +7 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/.github/workflows/ci.yml +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/.gitignore +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/.gitmodules +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/LICENSE +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/README.md +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/hyper-simulation.log +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/python/__init__.py +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/requirements.txt +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/simulation.pyi +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/src/graph/mod.rs +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/src/graph/networkx_graph.rs +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/src/lib.rs +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/src/utils.rs +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/test.py +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/test_bounded_simulation.py +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/tests/test_hyper_simulation.py +0 -0
- {simulation_alg-0.1.13 → simulation_alg-0.1.14}/tests/test_simulation.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: simulation-alg
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.14
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -448,6 +448,13 @@ impl<'a> Delta<'a> for DeltaImpl<'a> {
|
|
|
448
448
|
impl<'a> DeltaImpl<'a> {
|
|
449
449
|
fn from(delta: DeltaPy, query: &'a Hypergraph, data: &'a Hypergraph) -> Self {
|
|
450
450
|
let mut pair_map: HashMap<(&Node, &Node), Vec<(SematicCluster<'a, Hyperedge>, SematicCluster<'a, Hyperedge>)>> = HashMap::new();
|
|
451
|
+
|
|
452
|
+
for u in &query.nodes {
|
|
453
|
+
for v in &data.nodes {
|
|
454
|
+
pair_map.entry((u, v)).or_default();
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
451
458
|
for ((u_id, v_id), pairs) in delta.sematic_cluster_cache {
|
|
452
459
|
let u = query.nodes.get(u_id).unwrap();
|
|
453
460
|
let v = data.nodes.get(v_id).unwrap();
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|