Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature of displaying OccurrenceTimeIndex #291

Merged

Conversation

ARCJ137442
Copy link
Contributor

New Features

  • Added a function Print for displaying OccurrenceTimeIndex
  • Added corresponding command *occurrence_time_index to the ONA Shell

Preview

[...]> ./NAR shell

a. :|:
Input: a. :|: occurrenceTime=1 Priority=1.000000 Stamp=[1] Truth: frequency=1.000000, confidence=0.900000

b. :|:
Input: b. :|: occurrenceTime=2 Priority=1.000000 Stamp=[2] Truth: frequency=1.000000, confidence=0.900000

c. :|:
Input: c. :|: occurrenceTime=3 Priority=1.000000 Stamp=[3] Truth: frequency=1.000000, confidence=0.900000

*occurrence_time_index
printing occurrence time index content:
0: (a &/ c)
1: (b &/ c)
2: ((a &/ b) &/ c)
3: c
4: (a &/ b)
5: b
6: a
index print finish

- Added a function `Print` for displaying `OccurrenceTimeIndex`
- Added corresponding command `*occurrence_time_index` to the ONA Shell
@patham9
Copy link
Member

patham9 commented Dec 30, 2024

Thank you!

@patham9 patham9 merged commit 4aec10c into opennars:master Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants