Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PRIMO
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Social Cognitive SystemsSocial Cognitive Systems
  • PRIMO
  • Merge requests
  • !15

Changing values of nodes

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jan Pöppel requested to merge jpoeppel:dimensionFix into master Sep 13, 2017
  • Overview 6
  • Commits 4
  • Changes 3

Created by: jpoeppel

This PR adds the function "set_values" to the DiscreteNode class as well as "change_node_values" to the BayesianNetwork class. The former updates the values of a node, updating the dimensions of it's cpt and invalidating it in the process as one cannot assume that the old cpt is still valid. The latter does the same, but will also update the dimensions and invalidates all children of the changed node and should be preferred in general.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: jpoeppel:dimensionFix