代码搜索结果
找到约 2,276 项符合
Energy 的代码
catfish.java
import java.util.Vector;
/*
* Created on Jul 5, 2003
*
*/
/**
* Catfish - simulates a catfish - can swim, eat, and consume
* energy in the process.
*
* @author iCarnegie av
*
*
catfish.java
import java.util.*;
/*
* Created on Jan 6, 2004
*
*/
/**
* Basic Catfish - simulates a catfish - can swim and consume
* energy in the process.
*
* @author iCarnegie srt
*
*/
p
catfish.java
public class Catfish {
/**
* Fernando Navarro Villeda
* Location of the catfish - which column.
*/
private int column = 1;
/**
* Energy level of catfish
run
#!/bin/sh
# used for energy study with enough energy
# one mobility mode, random change distribution of traffic source
for proto in AODV DSR TORA DSDV
do
echo "$proto simulation"
i=1
while [
estudy.tcl
#
# Used for energy study
#
#
# ======================================================================
# Define options
# ======================================================================
set op
wireless-newnode-energy.tcl
# Copyright (c) 1997 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that
test-all-energy
#! /bin/sh
#
# Copyright (c) 1998 University of Southern California.
# All rights reserved.
#
energymodel.tex
\chapter{Energy Model in ns}
\label{chap:enerymodel}
Energy Model, as implemented in \ns, is a node attribute. The
energy model represents level of energy in a mobile host. The energy
model in a node
catfish.java
import java.util.Vector;
/**
* Catfish - simulates a catfish - can swim, eat, and consume
* energy in the process.
*
*
*/
public class Catfish extends LivingBeing {
/**
* The
crocodile.java
import java.util.Vector;
/**
* Crocodile - simulates a Crocodile - can swim, eat, and consume
* energy in the process.
*
*
*/
public class Crocodile extends LivingBeing {
/**