![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
分布式人工智能
Jerry_liu20080504
!!!
展开
-
NetLogo 之 FAQ(部分)
How do I give my turtles “vision”?转载 2022-09-13 14:33:50 · 254 阅读 · 0 评论 -
Netlogo 之Extension 之 Table 扩展实现Map 键值对功能
Netlogo 之Extension 之 Table 实现Map 键值对功能。原创 2022-09-09 17:02:19 · 221 阅读 · 0 评论 -
Netlogo 之 Extension
我是学过C/C++、Java、Python 的,这三种语言中的某些基础功能 Netlogo 是没有的,比如java 的map,sql、web通信操作等。Netlogo 的主业就是ABM,这些功能对于它来说可能是无关紧要的,可以不做为核心功能。但有些时候还需要,为了方便编程,则增加了Extension,让全世界的网友们去扩展。当然了,这里面比较权威的是netlogo 官网和CCL 的贡献。下面我把可能会用到的,java等其他语言有的Netlogo 核心功能里没有的扩展列一下。原创 2022-09-09 16:24:12 · 722 阅读 · 0 评论 -
Netlogo 之Java 调用netlogo 程序
展示了Java 怎样调用netlogo 程序,可以给netlogo 设置参数值。原创 2022-09-09 15:08:17 · 312 阅读 · 0 评论 -
Netlogo 之 将patch list 转为 patch set
Netlogo 之 将patch list 转为 patch set原创 2022-09-01 10:28:01 · 126 阅读 · 0 评论 -
Netlogo 之 agentset 转 List
Netlogo 之 agentset 转 List原创 2022-08-26 14:17:31 · 228 阅读 · 0 评论 -
Netlogo 简化版Scatter 分散
Netlogo 简化版Scatter 分散原创 2022-08-26 11:09:17 · 132 阅读 · 0 评论 -
Netlogo 模型库自带示例 Scatter 分散
Netlogo 模型库自带示例 Scatter 分散原创 2022-08-26 10:44:45 · 164 阅读 · 0 评论 -
Netlogo 之获取邻居中距离当前海龟最近的海龟
Netlogo 之获取邻居中距离当前海龟最近的海龟原创 2022-08-26 10:16:51 · 302 阅读 · 0 评论 -
Netlogo 中检测边界
在Netlogo 开发中,如何检测边界。原创 2022-08-26 09:59:10 · 137 阅读 · 0 评论 -
NS-3 学习之OLSR 获取某节点的OLSR 路由列表
void PrintOLSRRoutingTable(Ptr<Node> n) { // Obtain olsr::RoutingProtocol instance of gateway node // (namely, node B) and add the required association Ptr<Ipv4> stack = n->GetObject<Ipv4>(); Ptr<Ipv4RoutingProtocol&...原创 2022-02-17 14:37:43 · 927 阅读 · 0 评论 -
NS-3 学习之OLSR 获取周围邻居节点
代码段如下:void printNeibors(Ptr<Node> node) {// Ptr<Ipv4> ipv4_1 = node->GetObject<Ipv4>();// Ptr<Ipv4RoutingProtocol> ipv4RoutingProtocol = ipv4_1->GetRoutingProtocol();// Ptr<olsr::RoutingProtocol> routingProtocol =原创 2022-01-27 09:02:19 · 904 阅读 · 0 评论 -
NS-3 学习之信号传播损失模型之RangePropagationLossModel范围传播损失模型
信号覆盖范围或者信息传输范围与传播损失模型有关,下面介绍一下ns-3 中的传播损失模型:在源码包中的/src/propagation/doc/propagation.rst 文档里有相关说明。目前ns-3 实现了的传播损失模型有:The following propagation loss models are implemented: * Cost231PropagationLossModel * FixedRssLossModel * FriisPropagationLossMod...原创 2022-01-25 15:20:31 · 2073 阅读 · 0 评论 -
NS-3 学习之wifi-simple-adhoc.cc 分析和变种
代码源自:ns-3 3.35examples/wireless/wifi-simple-adhoc.cc,稍加修改/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- *//* * Copyright (c) 2009 The Boeing Company * * This program is free software; you can redistribute it and/or modify * it u.原创 2022-01-25 14:00:29 · 1300 阅读 · 0 评论 -
NS-3 学习之first.cc 变种
在学习NS-3 仿真过程中遇到问题:如何动态修改节点位置?如何设置节点颜色?首先想到的是在visualize 里找相关的API,但未找到。之后搜索了整个NS-3 3.35工程,只发现了与NetAnim 相关的Color 操作,没发现与Visualize 相关的Color 操作。NetAnim 似乎有设置节点颜色方法,如下:AnimationInterface::SetNodeColor(); 如果在Visualize 上找不到设置节点颜色方法,考虑转到NetAnim 上做。找到相关例子程序:原创 2022-01-24 13:40:46 · 244 阅读 · 0 评论 -
NS-3 学习之reference-point-group-mobility-examplee.cc 分析
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- *//* * Copyright (c) 2020 Institute for the Wireless Internet of Things, Northeastern University, Boston, MA * Copyright (c) 2021 University of Washington: for HierarchicalMobilityModel *.原创 2022-01-21 15:58:06 · 830 阅读 · 1 评论 -
NS-3 学习之mobility-trace-example.cc 分析
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- *//* * Copyright (c) 2012 University of Washington * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version .原创 2022-01-21 10:06:12 · 578 阅读 · 0 评论 -
NS-3 学习之main-random-walk.cc 分析
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- *//* * Copyright (c) 2006,2007 INRIA * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * publis.原创 2022-01-21 09:19:14 · 358 阅读 · 0 评论 -
NS-3学习之main-random-topology.cc
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- *//* * Copyright (c) 2006,2007 INRIA * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * publis.原创 2022-01-20 16:40:59 · 372 阅读 · 0 评论 -
NS-3 仿真学习之main-grid-topology.cc 分析
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- *//* * Copyright (c) 2006,2007 INRIA * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * publis.原创 2022-01-20 15:18:51 · 253 阅读 · 0 评论 -
NS-3学习之aodv.cc 变种
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- *//* * Copyright (c) 2009 IITP RAS * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * publishe.原创 2022-01-20 09:11:01 · 731 阅读 · 0 评论