From 3af52d6f2a791993f77460abcd61beaa2f963c16 Mon Sep 17 00:00:00 2001 From: srajan-kiyotaka Date: Wed, 19 Jun 2024 23:56:37 +0530 Subject: [PATCH] change in doc string of world module. --- src/traverseCraft/world.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/traverseCraft/world.py b/src/traverseCraft/world.py index 3611c5d..aa912a6 100644 --- a/src/traverseCraft/world.py +++ b/src/traverseCraft/world.py @@ -418,8 +418,8 @@ class CreateTreeWorld: - 'goals' (list): List of goal node IDs. - 'adj' (dict): Adjacency list representing tree connections. - 'position' (dict): Dictionary of node positions with node IDs as keys. - - 'edges' (dict, optional): Dictionary of edge information. Default is None. - - 'vals' (dict, optional): Dictionary of node values. Default is None. + - 'edges' (dict, optional): Dictionary of edge value. Default each edge is assigned a value of 1. + - 'vals' (dict, optional): Dictionary of node values. Default each node is assigned the value same as its ID. - radius (int): The radius of the nodes in the world visualization. Default is 20. - fontSize (int): The font size of the node labels. Default is 12. - fontBold (bool): Whether to use bold font for the node labels. Default is True. @@ -914,8 +914,8 @@ class CreateGraphWorld: - 'goals' (list): List of goal node IDs. - 'adj' (dict): Adjacency list representing graph connections. - 'position' (dict): Dictionary of node positions with node IDs as keys. - - 'edges' (dict, optional): Dictionary of edge information. Default is None. - - 'vals' (dict, optional): Dictionary of node values. Default is None. + - 'edges' (dict, optional): Dictionary of edge value. Default each edge is assigned a value of 1. + - 'vals' (dict, optional): Dictionary of node values. Default each node is assigned the value same as its ID. - radius (int): The radius of the nodes in the world visualization. Default is 20. - fontSize (int): The font size of the node labels. Default is 12. - fontBold (bool): Whether to use bold font for the node labels. Default is True.