|
static IReadOnlyDictionary< string, Fact > | MyFactSpace (FactRecorder me) |
|
static void | NewFactSpace (FactRecorder me) |
|
static void | FactSpaceClear (FactRecorder me) |
|
static void | FactSpaceDelete (FactRecorder me) |
|
static void | FactSpaceAdd (FactRecorder me, Fact fact) |
|
static void | FactSpaceRemove (FactRecorder me, string key) |
|
static bool | FindEquivalent (IReadOnlyDictionary< string, Fact > FactSpace, Fact search, out string found_key, out Fact found_value, out bool exact, bool allow_exact=true, bool allow_equivalent=true) |
| Looks for existent Fact (found_key ) which is very similar or identical (exact ) to prposed Fact (search ) More...
|
|
◆ FactSpaceAdd()
static void FactRecorder.GlobalFactDictionary.FactSpaceAdd |
( |
FactRecorder |
me, |
|
|
Fact |
fact |
|
) |
| |
|
static |
◆ FactSpaceClear()
static void FactRecorder.GlobalFactDictionary.FactSpaceClear |
( |
FactRecorder |
me | ) |
|
|
static |
◆ FactSpaceDelete()
static void FactRecorder.GlobalFactDictionary.FactSpaceDelete |
( |
FactRecorder |
me | ) |
|
|
static |
◆ FactSpaceRemove()
static void FactRecorder.GlobalFactDictionary.FactSpaceRemove |
( |
FactRecorder |
me, |
|
|
string |
key |
|
) |
| |
|
static |
◆ FindEquivalent()
static bool FactRecorder.GlobalFactDictionary.FindEquivalent |
( |
IReadOnlyDictionary< string, Fact > |
FactSpace, |
|
|
Fact |
search, |
|
|
out string |
found_key, |
|
|
out Fact |
found_value, |
|
|
out bool |
exact, |
|
|
bool |
allow_exact = true , |
|
|
bool |
allow_equivalent = true |
|
) |
| |
|
static |
Looks for existent Fact (found_key ) which is very similar or identical (exact ) to prposed Fact (search )
does not check active state
- Parameters
-
FactSpace | to search in |
search | to be searched for |
found_key | Fact.Id if return value is true |
found_value | Fact if return value is true |
exact | true iff found_key == search .Id |
allow_exact | if set to false : ignores cases where exact returns true |
- Returns
true
iff the exact same or an equivalent Fact to search was found in MyFactSpace
◆ MyFactSpace()
static IReadOnlyDictionary< string, Fact > FactRecorder.GlobalFactDictionary.MyFactSpace |
( |
FactRecorder |
me | ) |
|
|
static |
◆ NewFactSpace()
static void FactRecorder.GlobalFactDictionary.NewFactSpace |
( |
FactRecorder |
me | ) |
|
|
static |
◆ FactDict
readonly Dictionary<string, Fact> FactRecorder.GlobalFactDictionary.FactDict = new() |
|
staticprivate |
◆ FactReferences
readonly Dictionary<string, uint> FactRecorder.GlobalFactDictionary.FactReferences = new() |
|
staticprivate |
◆ FactSpaces
readonly Dictionary<FactRecorder, Dictionary<string, Fact> > FactRecorder.GlobalFactDictionary.FactSpaces = new() |
|
staticprivate |
◆ AllFacts
IReadOnlyDictionary<string, Fact> FactRecorder.GlobalFactDictionary.AllFacts |
|
staticget |
◆ AllFactSpaces
IReadOnlyDictionary<FactRecorder, Dictionary<string, Fact> > FactRecorder.GlobalFactDictionary.AllFactSpaces |
|
staticget |
The documentation for this class was generated from the following file:
- D:/Users/marco/Dokuments/OneDrive/FAU/Informatik/!UFrameIT/FrameIT/MaZiFAU/Assets/Scripts/InteractionEngine/FactHandling/FactRecorder.cs