NewClause constructs a new clause.
(head Atom, premises []Term)
| 1306 | |
| 1307 | // NewClause constructs a new clause. |
| 1308 | func NewClause(head Atom, premises []Term) Clause { |
| 1309 | return Clause{head, nil, premises, nil} |
| 1310 | } |
| 1311 | |
| 1312 | // NewTemporalClause constructs a new clause with a temporal annotation. |
| 1313 | func NewTemporalClause(head Atom, headTime *Interval, premises []Term) Clause { |
no outgoing calls