@@ -334,7 +334,7 @@ impl SymbolicAsyncGraph {
334
334
///
335
335
/// *Note:* The reason this method takes a slice and not, e.g., a `HashMap` is that:
336
336
/// - If constant, slices are much easier to write in code (i.e. we can write
337
- /// `graph.mk_subspace(&[(a, true), (b, false)])` -- there is no such syntax for a map).
337
+ /// `graph.mk_subspace(&[(a, true), (b, false)])` -- there is no such syntax for a map).
338
338
/// - This is already used by the internal BDD API, so the conversion is less involved.
339
339
pub fn mk_subspace ( & self , values : & [ ( VariableId , bool ) ] ) -> GraphColoredVertices {
340
340
let partial_valuation: Vec < ( BddVariable , bool ) > = values
@@ -603,12 +603,12 @@ impl SymbolicAsyncGraph {
603
603
/// checking algorithms:
604
604
/// - The two networks have the same variables.
605
605
/// - All parameters used in the subnetwork must also be declared in the
606
- /// main network (with the same arity).
606
+ /// main network (with the same arity).
607
607
/// - The regulations are identical in both networks (including monotonicity/observability).
608
608
/// - If the main network has an update function, the subnetwork must have the same
609
- /// update function (tested using the abstract syntax tree, not semantics).
609
+ /// update function (tested using the abstract syntax tree, not semantics).
610
610
/// - If the main network has an erased update function, the subnetwork can have
611
- /// a fully specified function (no parameters) instead.
611
+ /// a fully specified function (no parameters) instead.
612
612
/// - The subnetwork and main network are consistent with the shared regulatory graph.
613
613
///
614
614
/// If all of these conditions are met, the function returns a `ColorSet` representing all
@@ -830,7 +830,7 @@ impl SymbolicAsyncGraph {
830
830
///
831
831
/// The `graph` is considered compatible if:
832
832
/// 1. All parameters which appear in `colors` also appear in this graph under the same name
833
- /// (parameters not used in `colors` do not matter).
833
+ /// (parameters not used in `colors` do not matter).
834
834
/// 2. The internal ordering of symbolic parameter variables is equivalent between graphs.
835
835
///
836
836
/// At the moment, condition (2) depends on network structure and is hard to directly
@@ -853,7 +853,7 @@ impl SymbolicAsyncGraph {
853
853
///
854
854
/// The `graph` is considered compatible if:
855
855
/// 1. All variables which appear in `vertices` also appear in this graph under the same name
856
- /// (variables not used in `vertices` do not matter).
856
+ /// (variables not used in `vertices` do not matter).
857
857
/// 2. The internal ordering of symbolic variables is equivalent between the two graphs.
858
858
///
859
859
/// At the moment, variables are by default ordered alphabetically, hence condition (2)
@@ -876,7 +876,7 @@ impl SymbolicAsyncGraph {
876
876
///
877
877
/// The `graph` is considered compatible if:
878
878
/// 1. All parameters and state variables which appear in `set` also appear in this graph
879
- /// under the same name (variables not used in `set` do not matter).
879
+ /// under the same name (variables not used in `set` do not matter).
880
880
/// 2. The internal ordering of relevant symbolic variables is equivalent between graphs.
881
881
///
882
882
/// At the moment, condition (2) depends on network structure and is hard to directly
0 commit comments