pub struct TemporalPatternMatch<'a> {
pub pattern: GraphPattern,
pub graph: &'a str,
pub temporal_filter: TemporalFilter,
pub score: f64,
}Expand description
Temporal-aware pattern matching (Section 10, Paper 2).
Same algorithm as the standard subgraph matcher but every edge
candidate is filtered through a TemporalFilter before it is
admitted into the assignment, so only temporally valid edges
participate in pattern matching.
Fields§
§pattern: GraphPattern§graph: &'a str§temporal_filter: TemporalFilter§score: f64Implementations§
Source§impl<'a> TemporalPatternMatch<'a>
impl<'a> TemporalPatternMatch<'a>
pub fn new(pattern: GraphPattern, graph: &'a str) -> Self
pub fn filter(self, filter: TemporalFilter) -> Self
pub fn score(self, score: f64) -> Self
pub fn execute<G: GraphStore>( &self, store: &G, ) -> GraphStoreResult<GraphPostingList>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TemporalPatternMatch<'a>
impl<'a> !UnwindSafe for TemporalPatternMatch<'a>
impl<'a> Freeze for TemporalPatternMatch<'a>
impl<'a> Send for TemporalPatternMatch<'a>
impl<'a> Sync for TemporalPatternMatch<'a>
impl<'a> Unpin for TemporalPatternMatch<'a>
impl<'a> UnsafeUnpin for TemporalPatternMatch<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more