• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/srv/ClioPatria/lib/count.pl
All Application Manual Name SummaryHelp

  • ClioPatria
    • lib
      • version.pl -- Manage software versions
      • bundle.pl -- Import bundles
      • http_settings.pl
      • conf_d.pl -- Load configuration directories
      • setup.pl -- Configuration (setup) of ClioPatria
      • count.pl -- This module provides various ways to count solutions
        • proof_count/2
        • proof_count/3
        • answer_count/3
        • answer_count/4
        • answer_set/3
        • answer_set/4
        • answer_pair_set/5
        • unique_solution/2
 answer_set(?Var, :Goal, -SortedSet) is det
 answer_set(?Var, :Goal, +MaxResults, -SortedSet) is det
SortedSet is the set of bindings for Var for which Goal is true. The predicate answer_set/3 is the same as findall/3 followed by sort/2. The predicate answer_set/4 limits the result to the first MaxResults. Note that this is not the same as the first MaxResults from the entire answer set, which would require computing the entire set.
ClioPatria (version V3.1.1-51-ga0b30a5)