JasperHavenhand / Honours-Year-Project

COMP390 - Honours Year Project: Temporal Network (Re-)Design Strategies for Early Epidemic Containment
0 stars 0 forks source link

Implementing temporal constraints #7

Closed JasperHavenhand closed 3 years ago

JasperHavenhand commented 3 years ago

Need to find how to restrict temporal reachability and temporality of a graph within Gradoop.

JasperHavenhand commented 3 years ago

The temporal reachability can be limited by a number of methods: merging, delaying, and edge and label deletion.

JasperHavenhand commented 3 years ago

Merging:

Need to work out how this could be adapted for time ranges.

JasperHavenhand commented 3 years ago

A potential way to adapt the merging to time ranges is to use another parameter, the duration. That is, find all edges whose validFrom time is before λ, set their validFrom time to λ, and set their validTo time to λ plus the specified duration. This will maintain the purpose of merging which is to prevent it being possible to create a temporal path across the affected edges. This will also reduce the number of edges, in turn reducing the execution time for operations on the graph.

JasperHavenhand commented 3 years ago

Sampling could be useful for the deletion methods.

JasperHavenhand commented 3 years ago

43d8fd7f80891687cf99d9cd63b30393a3ef0be3 The delay edges method has been added.

JasperHavenhand commented 3 years ago

Reducing temporality, i.e., reducing the number of labels on each theoretical edge, seems the most logical next task. In the actual implementation, there is a separate edge for each label so reducing this will help with processing times.

JasperHavenhand commented 3 years ago

A method for limiting the temporality has been implemented.

JasperHavenhand commented 3 years ago

A method for deleting edges can be easily implemented by adapting the limitTemporality method.

JasperHavenhand commented 3 years ago

54e0a3a5b60d105d19a7cbf3579d81122127a709 Added the deletion method.