predicate
Problem with `\+` in Prolog queries with variables
I\'m reading \"Seven languages in seven weeks\" atm, and I\'m stumpe开发者_如何学JAVAd over some Prolog query that I don\'t understand the \'no\' response to.[详细]
2023-03-05 11:03 分类:问答How to make a list of lists in prolog
I use SWI-Prolog and I want to make a list of several other lists. For example, I want to put the following three lists[详细]
2023-03-05 06:14 分类:问答Predicate to zip two collections and use as binding source
I\'ve got two collections, ObservableCollection<Lap> and a ObservableCollection<Racer> where Lap holds lap data of a car race and Racer, you guess it, the Racer\'s data. Both objects know[详细]
2023-03-05 03:38 分类:问答Set parameters dynamically in Prolog
I\'m trying to make my code more dynamic. I have a file with the following contents: a(b1, c1, d1). a(b2, c2, d2).[详细]
2023-03-05 03:08 分类:问答C# error when using explicitly defined Predicate
i have a number of lambda expressions that will be using the same predicate in a where clause. As such i am using the predicate type for the first time. Here is what i have..[详细]
2023-03-04 22:02 分类:问答Java find nearest (or equal) value in collection
I have a class along the lines of: public class Observation { private String time; private double x; private double y;[详细]
2023-03-04 17:56 分类:问答Crash using Aggregate Operation: "ALL" in a Core Data iOS Application
I\'m working on an iphone application and I have a simple many-to-many relationship set up with Group and Contact objects. A group can have many contacts and contacts can belong to multiple groups.[详细]
2023-03-04 13:56 分类:问答Predicates Common Lisp
Do you know where can I get the source of a predicate in Common Lisp? (The content of the predicate, if you pre开发者_如何学运维fer.) For example, source code of setq, string= etc.[详细]
2023-03-03 23:45 分类:问答Represent the English statement into Quantifiers
Here is a statement C(x): x has a catD(x): x has a dogF(x): x has a Ferret re开发者_JAVA技巧present using quantifiers and logical connectives. Under the domain \"all students in your class\"[详细]
2023-03-03 01:10 分类:问答Applying predicates on a list in R
Given 开发者_开发问答a list of values in R, what is a nice way to filter values in a list by a given predicate function?It\'s not entirely clear whether you have a proper list object in R, or another[详细]
2023-03-02 03:01 分类:问答