mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-02 22:54:43 +03:00
shift early_dfa construction earlier
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015-2016, Intel Corporation
|
||||
* Copyright (c) 2015-2017, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -55,6 +55,7 @@ namespace ue2 {
|
||||
|
||||
class NGHolder;
|
||||
struct raw_som_dfa;
|
||||
struct raw_dfa;
|
||||
|
||||
enum RoseInVertexType {
|
||||
RIV_LITERAL,
|
||||
@@ -166,9 +167,12 @@ struct RoseInEdgeProps {
|
||||
/** \brief Maximum bound on 'dot' repeat between literals. */
|
||||
u32 maxBound;
|
||||
|
||||
/** \brief Prefix graph. Graph is end to (end - lag). */
|
||||
/** \brief Graph on edge. Graph is end to (end - lag). */
|
||||
std::shared_ptr<NGHolder> graph;
|
||||
|
||||
/** \brief DFA version of graph, if we have already determinised. */
|
||||
std::shared_ptr<raw_dfa> dfa;
|
||||
|
||||
/** \brief Haig version of graph, if required. */
|
||||
std::shared_ptr<raw_som_dfa> haig;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user