- 浏览: 91632 次
- 性别:
- 来自: 深圳
最新评论
-
Csf_java:
是不是少了什么东西?加载不了dll吗?Exception in ...
Java-Swing界面的摄像头\高拍仪抓图功能,有预览视频-使用xuggle。 -
zaizai13:
请问我的为什么总是报log4j:WARN No appende ...
Java-Swing界面的摄像头\高拍仪抓图功能,有预览视频-使用xuggle。 -
stjauns:
chairmanwang 写道楼主您好,我使用了您的程序,但是 ...
Java-Swing界面的摄像头\高拍仪抓图功能,有预览视频-使用xuggle。 -
chairmanwang:
楼主您好,我使用了您的程序,但是程序报错log4j:WARN ...
Java-Swing界面的摄像头\高拍仪抓图功能,有预览视频-使用xuggle。 -
stjauns:
daizhe 写道楼主好!感谢分享!我的系统是win7 64位 ...
Java-Swing界面的摄像头\高拍仪抓图功能,有预览视频-使用xuggle。
系统要增加工作计划功能,让每个营业部每周末分派下周本部门每个人的工作量。
用到了这个周次选择Panel。网上随便搜搜没有,就自己弄了个。
界面如图:
主功能代码
日期处理工具,网上随便搜的:
自定义颜色类:
用到了这个周次选择Panel。网上随便搜搜没有,就自己弄了个。
界面如图:
主功能代码
package transms.app._0all.util.weekselect; import javax.swing.ButtonGroup; import javax.swing.JPanel; import java.awt.GridLayout; import java.awt.Color; import java.awt.BorderLayout; import java.awt.Insets; import javax.swing.JButton; import java.text.ParseException; import java.util.HashMap; import java.util.Map; import javax.swing.JToggleButton; import org.apache.log4j.Logger; import transms.app._0all.util.VOUtil; import transms.app._0all.util.providers.Colors; import util.Info; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.JToolBar; import javax.swing.JComboBox; public class WeekselectPanel extends JPanel { private static final long serialVersionUID = 1L; /** * This is the default constructor */ public WeekselectPanel() { super(); initialize(); selectedyear = Integer.valueOf(VOUtil.now().substring(0, 4)); getComboYear().setSelectedItem(String.valueOf(selectedyear)); try { addWeeks(selectedyear); } catch (ParseException e) { // TODO Auto-generated catch block e.printStackTrace(); } setToday(); } private int selectedyear = -1; public String getYear() { return String.valueOf(selectedyear); } private int selectedweek = -1; public int getWeek() { return selectedweek; } /** * 选中今天 */ private void setToday() { try { int currentweek = du.getWeekNumOfYearDay(VOUtil.now()); mapButton.get(currentweek).setSelected(true); action(String.valueOf(currentweek)); } catch (ParseException e) { // TODO Auto-generated catch block e.printStackTrace(); } } Logger logger = Logger.getLogger(WeekselectPanel.class); // @jve:decl-index=0: Map<Integer, JToggleButton> mapButton = new HashMap<Integer, JToggleButton>(); // @jve:decl-index=0: Map<Integer, Color> mapMonthcolor = new HashMap<Integer, Color>(); // @jve:decl-index=0: Map<Integer, Color> mapSeasoncolor = new HashMap<Integer, Color>(); // @jve:decl-index=0: private JPanel panelWeek = null; private JToolBar jToolBar = null; private JComboBox comboYear = null; private JButton jButtonOK = null; { mapMonthcolor.put(1, Colors.Chartreuse3); mapMonthcolor.put(2, Colors.DarkOliveGreen2); mapMonthcolor.put(3, Colors.DarkOrange1); mapMonthcolor.put(4, Colors.Firebrick1); mapMonthcolor.put(5, Colors.Ivory2); mapMonthcolor.put(6, Colors.Khaki1); mapMonthcolor.put(7, Colors.LightSalmon); mapMonthcolor.put(8, Colors.OrangeRed); mapMonthcolor.put(9, Colors.PaleGreen); mapMonthcolor.put(10, Colors.PaleTurquoise1); mapMonthcolor.put(11, Colors.Purple3); mapMonthcolor.put(12, Color.CYAN); mapSeasoncolor.put(1, Colors.Ivory2); mapSeasoncolor.put(2, Colors.Ivory2); mapSeasoncolor.put(3, Colors.Ivory2); mapSeasoncolor.put(4, Colors.Chartreuse3); mapSeasoncolor.put(5, Colors.Chartreuse3); mapSeasoncolor.put(6, Colors.Chartreuse3); mapSeasoncolor.put(7, Colors.Purple3); mapSeasoncolor.put(8, Colors.Purple3); mapSeasoncolor.put(9, Colors.Purple3); mapSeasoncolor.put(10, Colors.DarkOrange1); mapSeasoncolor.put(11, Colors.DarkOrange1); mapSeasoncolor.put(12, Colors.DarkOrange1); } private DateUtil du = new DateUtil(); // @jve:decl-index=0: private void addWeeks(int year) throws ParseException { ButtonGroup bg = new ButtonGroup(); getPanelWeek().removeAll(); mapButton.clear(); for (int i = 1; i < 55; i++) { String sun = du.getYearWeekFirstDay(year, i); String sat = du.getYearWeekEndDay(year, i); if (!sat.startsWith(String.valueOf(year))) { continue; } if (mapButton.get(i) == null) { JToggleButton button = new JToggleButton(String.valueOf(i)); mapButton.put(i, button); getPanelWeek().add(mapButton.get(i)); bg.add(mapButton.get(i)); mapButton.get(i).addActionListener(getButtonAction()); } mapButton.get(i).setMargin(new Insets(0, 0, 0, 0)); mapButton.get(i).setToolTipText( i + " " + du.getMonth(sun) + " " + sun + " - " + sat); mapButton.get(i).setForeground(mapMonthcolor.get(du.getMonth(sat))); mapButton.get(i).setBackground(mapSeasoncolor.get(du.getMonth(sat))); mapButton.get(i).setActionCommand(String.valueOf(i)); } } private ActionListener getButtonAction() { return new ActionListener() { public void actionPerformed(ActionEvent e) { action(e.getActionCommand()); } }; } private void action(String actionCommand) { selectedweek = Integer.valueOf(actionCommand); try { getJButtonOK().setText( actionCommand + "周 " + du.getYearWeekFirstDay(Integer.valueOf(getComboYear() .getSelectedItem().toString()), selectedweek) + Info.labelInfo("to") + du.getYearWeekEndDay(Integer.valueOf(getComboYear() .getSelectedItem().toString()), selectedweek)); } catch (NumberFormatException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (ParseException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } /** * This method initializes this * * @return void */ private void initialize() { this.setLayout(new BorderLayout()); this.setSize(312, 102); this.add(getPanelWeek(), BorderLayout.CENTER); this.add(getJToolBar(), BorderLayout.NORTH); this.setBorder(BorderFactory.createEtchedBorder()); } /** * This method initializes panelWeek * * @return javax.swing.JPanel */ private JPanel getPanelWeek() { if (panelWeek == null) { GridLayout gridLayout1 = new GridLayout(0, 13); panelWeek = new JPanel(); panelWeek.setLayout(gridLayout1); } return panelWeek; } /** * This method initializes jToolBar * * @return javax.swing.JToolBar */ private JToolBar getJToolBar() { if (jToolBar == null) { jToolBar = new JToolBar(); jToolBar.add(getComboYear()); jToolBar.add(getJButtonOK()); } return jToolBar; } /** * This method initializes comboYear * * @return javax.swing.JComboBox */ private JComboBox getComboYear() { if (comboYear == null) { String[] years = { "2009", "2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020" }; comboYear = new JComboBox(years); comboYear.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { selectedyear = Integer .valueOf(comboYear.getSelectedItem().toString()); try { addWeeks(selectedyear); } catch (NumberFormatException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (ParseException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } }); } return comboYear; } /** * This method initializes jButtonOK * * @return javax.swing.JButton */ private JButton getJButtonOK() { if (jButtonOK == null) { jButtonOK = new JButton(); jButtonOK.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { logger.info(selectedyear + " " + selectedweek); } }); } return jButtonOK; } } // @jve:decl-index=0:visual-constraint="10,9"
日期处理工具,网上随便搜的:
package transms.app._0all.util.weekselect; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Calendar; import java.util.GregorianCalendar; /** * 说明: 取日期时间工具 */ public class DateUtil { /** * @see 取得当前日期(格式为:yyyy-MM-dd) * @return String */ public String GetDate() { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); String sDate = sdf.format(new Date()); return sDate; } /** * @see 取得当前时间(格式为:yyy-MM-dd HH:mm:ss) * @return String */ public static String GetDateTime() { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String sDate = sdf.format(new Date()); return sDate; } /** * @see 按指定格式取得当前时间() * @return String */ public String GetTimeFormat(String strFormat) { SimpleDateFormat sdf = new SimpleDateFormat(strFormat); String sDate = sdf.format(new Date()); return sDate; } /** * @see 取得指定时间的给定格式() * @return String * @throws ParseException */ public String SetDateFormat(String myDate, String strFormat) throws ParseException { SimpleDateFormat sdf = new SimpleDateFormat(strFormat); String sDate = sdf.format(sdf.parse(myDate)); return sDate; } public String FormatDateTime(String strDateTime, String strFormat) { String sDateTime = strDateTime; try { Calendar Cal = parseDateTime(strDateTime); SimpleDateFormat sdf = null; sdf = new SimpleDateFormat(strFormat); sDateTime = sdf.format(Cal.getTime()); } catch (Exception e) { } return sDateTime; } public static Calendar parseDateTime(String baseDate) { Calendar cal = null; cal = new GregorianCalendar(); int yy = Integer.parseInt(baseDate.substring(0, 4)); int mm = Integer.parseInt(baseDate.substring(5, 7)) - 1; int dd = Integer.parseInt(baseDate.substring(8, 10)); int hh = 0; int mi = 0; int ss = 0; if (baseDate.length() > 12) { hh = Integer.parseInt(baseDate.substring(11, 13)); mi = Integer.parseInt(baseDate.substring(14, 16)); ss = Integer.parseInt(baseDate.substring(17, 19)); } cal.set(yy, mm, dd, hh, mi, ss); return cal; } public int getDay(String strDate) { Calendar cal = parseDateTime(strDate); return cal.get(Calendar.DATE); } public int getMonth(String strDate) { Calendar cal = parseDateTime(strDate); return cal.get(Calendar.MONTH) + 1; } public int getWeekDay(String strDate) { Calendar cal = parseDateTime(strDate); return cal.get(Calendar.DAY_OF_WEEK); } public String getWeekDayName(String strDate) { String mName[] = { "日", "一", "二", "三", "四", "五", "六" }; int iWeek = getWeekDay(strDate); iWeek = iWeek - 1; return "星期" + mName[iWeek]; } public int getYear(String strDate) { Calendar cal = parseDateTime(strDate); return cal.get(Calendar.YEAR) + 1900; } public String DateAdd(String strDate, int iCount, int iType) { Calendar Cal = parseDateTime(strDate); int pType = 0; if (iType == 0) { pType = 1; } else if (iType == 1) { pType = 2; } else if (iType == 2) { pType = 5; } else if (iType == 3) { pType = 10; } else if (iType == 4) { pType = 12; } else if (iType == 5) { pType = 13; } Cal.add(pType, iCount); SimpleDateFormat sdf = null; if (iType <= 2) sdf = new SimpleDateFormat("yyyy-MM-dd"); else sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String sDate = sdf.format(Cal.getTime()); return sDate; } public String DateAdd(String strOption, int iDays, String strStartDate) { if (!strOption.equals("d")) ; return strStartDate; } public int DateDiff(String strDateBegin, String strDateEnd, int iType) { Calendar calBegin = parseDateTime(strDateBegin); Calendar calEnd = parseDateTime(strDateEnd); long lBegin = calBegin.getTimeInMillis(); long lEnd = calEnd.getTimeInMillis(); int ss = (int) ((lBegin - lEnd) / 1000L); int min = ss / 60; int hour = min / 60; int day = hour / 24; if (iType == 0) return hour; if (iType == 1) return min; if (iType == 2) return day; else return -1; } /*************************************************************************** * @功能 判断某年是否为闰年 * @return boolean * @throws ParseException **************************************************************************/ public boolean isLeapYear(int yearNum) { boolean isLeep = false; /** 判断是否为闰年,赋值给一标识符flag */ if ((yearNum % 4 == 0) && (yearNum % 100 != 0)) { isLeep = true; } else if (yearNum % 400 == 0) { isLeep = true; } else { isLeep = false; } return isLeep; } /*************************************************************************** * @功能 计算当前日期某年的第几周 * @return interger * @throws ParseException **************************************************************************/ public int getWeekNumOfYear() { Calendar calendar = Calendar.getInstance(); int iWeekNum = calendar.get(Calendar.WEEK_OF_YEAR); return iWeekNum; } /*************************************************************************** * @功能 计算指定日期某年的第几周 * @return interger * @throws ParseException **************************************************************************/ public int getWeekNumOfYearDay(String strDate) throws ParseException { Calendar calendar = Calendar.getInstance(); SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); Date curDate = format.parse(strDate); calendar.setTime(curDate); int iWeekNum = calendar.get(Calendar.WEEK_OF_YEAR); return iWeekNum; } /*************************************************************************** * @功能 计算某年某周的开始日期 * @return interger * @throws ParseException **************************************************************************/ public String getYearWeekFirstDay(int yearNum, int weekNum) throws ParseException { Calendar cal = Calendar.getInstance(); cal.set(Calendar.YEAR, yearNum); cal.set(Calendar.WEEK_OF_YEAR, weekNum); cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); // 分别取得当前日期的年、月、日 String tempYear = Integer.toString(cal.get(Calendar.YEAR)); String tempMonth = Integer.toString(cal.get(Calendar.MONTH) + 1); String tempDay = Integer.toString(cal.get(Calendar.DATE)); String tempDate = tempYear + "-" + tempMonth + "-" + tempDay; return SetDateFormat(tempDate, "yyyy-MM-dd"); } /*************************************************************************** * @功能 计算某年某周的结束日期 * @return interger * @throws ParseException **************************************************************************/ public String getYearWeekEndDay(int yearNum, int weekNum) throws ParseException { Calendar cal = Calendar.getInstance(); cal.set(Calendar.YEAR, yearNum); cal.set(Calendar.WEEK_OF_YEAR, weekNum + 1); cal.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY); // 分别取得当前日期的年、月、日 String tempYear = Integer.toString(cal.get(Calendar.YEAR)); String tempMonth = Integer.toString(cal.get(Calendar.MONTH) + 1); String tempDay = Integer.toString(cal.get(Calendar.DATE)); String tempDate = tempYear + "-" + tempMonth + "-" + tempDay; return SetDateFormat(tempDate, "yyyy-MM-dd"); } /*************************************************************************** * @功能 计算某年某月的开始日期 * @return interger * @throws ParseException **************************************************************************/ public String getYearMonthFirstDay(int yearNum, int monthNum) throws ParseException { // 分别取得当前日期的年、月、日 String tempYear = Integer.toString(yearNum); String tempMonth = Integer.toString(monthNum); String tempDay = "1"; String tempDate = tempYear + "-" + tempMonth + "-" + tempDay; return SetDateFormat(tempDate, "yyyy-MM-dd"); } /*************************************************************************** * @功能 计算某年某月的结束日期 * @return interger * @throws ParseException **************************************************************************/ public String getYearMonthEndDay(int yearNum, int monthNum) throws ParseException { // 分别取得当前日期的年、月、日 String tempYear = Integer.toString(yearNum); String tempMonth = Integer.toString(monthNum); String tempDay = "31"; if (tempMonth.equals("1") || tempMonth.equals("3") || tempMonth.equals("5") || tempMonth.equals("7") || tempMonth.equals("8") || tempMonth.equals("10") || tempMonth.equals("12")) { tempDay = "31"; } if (tempMonth.equals("4") || tempMonth.equals("6") || tempMonth.equals("9") || tempMonth.equals("11")) { tempDay = "30"; } if (tempMonth.equals("2")) { if (isLeapYear(yearNum)) { tempDay = "29"; } else { tempDay = "28"; } } // System.out.println("tempDay:" + tempDay); String tempDate = tempYear + "-" + tempMonth + "-" + tempDay; return SetDateFormat(tempDate, "yyyy-MM-dd"); } }
自定义颜色类:
package transms.app._0all.util.providers; import java.awt.Color; public class Colors extends Color { private static final long serialVersionUID = 3680677118390160469L; public Colors(int rgb) { super(rgb); } /** * 淡黄 */ public static final Color Khaki1 = new Color(255, 246, 143); /** * 浅蓝 */ public static final Color PaleTurquoise1 = new Color(187, 255, 255); /** * 背景色 */ public static final Color Ivory2 = new Color(238, 238, 224); /** * 火红 */ public static final Color Firebrick1 = new Color(255, 48, 48); /** * 暗绿 */ public static final Color Chartreuse3 = new Color(69, 139, 0); /** * 紫 */ public static final Color Purple3 = new Color(125, 38, 205); /** * 橘红 */ public static final Color OrangeRed = new Color(255, 69, 0); /** * 暗橙 */ public static final Color DarkOrange1 = new Color(255, 127, 0); /** * 暗橄榄绿 */ public static final Color DarkOliveGreen2 = new Color(188, 238, 104); /** * 淡红 */ public static final Color LightSalmon = new Color(255, 160, 122); /** * 淡绿 */ public static final Color PaleGreen = new Color(152, 251, 152); }
发表评论
-
双击一个jar文件打开另一个jar文件中的main方法
2022-12-01 14:08 277做一个仅有META-INF的jar文件,其下MANIFEST. ... -
JSP网站从Tomcat7升级到Tomcat9抛出错误Unable to compile class for JSP] with root cause
2020-03-05 13:10 1052一个历史遗留的JSP网站,部署在Tomcat7上,一切正常 现 ... -
解决JTextPane设定其Background颜色无法导出正确的HTML的问题
2018-06-26 18:09 1344设定foreground代码如下: SimpleAttribu ... -
java和mysql的week周次对应方法
2018-04-13 13:43 1115MYSQL方法: select dt,if(month(dt) ... -
使用WindowBuilder来代替VisualEditor
2016-07-02 10:54 1@wbp.factory 标记static方法为Compone ... -
Eclipse Mars.2 refactory rename提示大量syntax error,编译器却无error仅warning
2016-07-01 12:26 767折腾半天,发现还是'_'作为包名和变量名的问题 最终把所有的' ... -
java8中的getTimeZone表现与java7中不同
2015-01-13 17:44 1051原来的代码中使用TimeZone.setDefault(Tim ... -
Java-Swing界面的摄像头\高拍仪抓图功能,有预览视频-使用xuggle。
2013-05-27 15:56 8883需求:要直接使用SWING来抓高拍仪的图,亦即支持摄像头。 曾 ... -
Eclipse+Subclipse插件,设定一个文件取消其版本控制,添加到svn:ignor。
2013-03-14 23:15 4995原始帖子见: http://www.oschina.net/q ... -
tomcat:A docBase *** inside the host appBase has been specified...问题及解决
2013-01-15 18:33 13462eclipse galileo升级到indigo,发布项目到t ... -
ftp4j连接Microsoft FTP Service 7.5的list错误it.sauronsoftware.ftp4j.FTPListParse问题及解决
2012-11-12 18:28 3369源代码参见前几篇的附件。 FTP服务器准备从cuteFTP换 ... -
深圳地铁线路大图-PNG格式
2011-06-25 12:04 2004上网找一圈,只有老图,在官方网站上也没有能下载的图片格式,于是 ... -
从MYSQL的binlog恢复指定的SQL语句,解决中文乱码问题。
2011-04-09 21:24 3462系统错误导致3天中的部分数据被错误覆盖,只能从MYSQL的bi ... -
eclipst+tomcat 发布多个互相依赖的project问题
2010-10-28 16:32 1628若一个Dynamic Web project的java bui ... -
JAVA自动更新下载FTP服务器上的文件,带Swing进度。
2010-05-24 17:56 6055使用ftp4j-1.5,见http://www.saurons ... -
OY!原来是JAVA的BUG呀~~~在SwingWorker中嵌套调用SwingWorker的死锁问题解决方法。
2010-05-08 14:18 1254java6update18开始,在一个SwingWorker的 ... -
20100426,放弃EJB,转向轻量级的Hessian
2010-04-28 15:25 1792公司系统的远程调用层从EJB2.1转换为Hessian了,现正 ... -
设定窗口的默认按钮按键:ESC和ENTER等按键
2010-03-03 17:44 1583在Google上查到的代码见下面的链接 http://www. ... -
JSplitPane用代码调用OneTouchExpand/Collapse
2009-10-26 15:49 1096直接设定: getJsp1().setDividerLocat ... -
AutoCodeGenTool自动生成重复代码
2009-10-24 23:44 1160公司系统用tikeswing做表现层,配置布局的时候有很多重复 ...
相关推荐
三相LCL并网逆变器:高精度快速响应的有功无功解耦控制技术,三相LCL并网逆变器,有功无功解耦控制,控制精度高,响应速度快。 ,三相LCL并网逆变器; 有功无功解耦控制; 高控制精度; 快速响应。,三相LCL逆变器高精度快速响应解耦控制
一种基于Lifelogging视频的文本标签生成模型.pdf
基于黏菌优化算法(SMA)的改进与复现——融合EO算法更新策略的ESMA项目报告,黏菌优化算法(SMA)复现(融合EO算法改进更新策略)——ESMA。 复现内容包括:改进算法实现、23个基准测试函数、多次实验运行并计算均值标准差等统计量、与SMA对比等。 程序基本上每一步都有注释,非常易懂,代码质量极高,便于新手学习和理解。 ,SMA复现;EO算法改进;算法实现;基准测试函数;实验运行;统计量;SMA对比;程序注释;代码质量;学习理解。,标题:ESMA算法复现:黏菌优化与EO算法融合改进的实证研究
免费JAVA毕业设计 2024成品源码+论文+数据库+启动教程 启动教程:https://www.bilibili.com/video/BV1SzbFe7EGZ 项目讲解视频:https://www.bilibili.com/video/BV1Tb421n72S 二次开发教程:https://www.bilibili.com/video/BV18i421i7Dx
基于数据挖掘的教师教育质量评价指标体系的构建.pdf
内容概要:本实验报告旨在介绍将正则表达式(RE)转化为非确定有限自动机(NFA)的过程与技术细节。内容包括了理论背景的介绍,比如为什么需要这样的转换以及它背后的数学逻辑;详细解释如何通过编写特定功能的程序完成从正则表达式到NFA的状态迁移图构建;并且探讨了后续将这个NFA再转变成DFA(确定有限自动机)并进行优化的方法。最后,通过一组具体的例子来进行验证性的实践操作,并讨论在整个过程中遇到的各种挑战及解决方案。此外,报告还包含了对于不同设计方案的选择考量,以及对于所选技术和工具的应用评估。 适用人群:对于希望深入理解编译原理、特别是形式语言和自动机构造的学生或专业人士来说是一份宝贵的学习资料。 使用场景及目标:本篇文章主要用于教育指导,适用于大学本科计算机科学专业相关课程的教学辅助材料,帮助学生更好地理解复杂概念之间的联系。通过动手实践可以强化他们对该领域关键知识点的记忆和技术能力。 其他说明:文中提供的源代码实例和图表有助于使用者更直观地领会转换过程的具体步骤,同时也有助于培养解决问题的能力和思维方式。
nodejs010-1.2-29.el6.centos.alt.x86_64.rpm
"基于萤火虫算法优化麻雀算法的深度置信网络FSSSA-DBN数据分类预测模型及其Matlab代码详解",基于萤火虫算法改进麻雀算法优化深度置信网络(FSSSA-DBN)的数据分类预测 matlab代码注释详细, ,核心关键词:基于萤火虫算法; 改进麻雀算法; 优化深度置信网络(FSSSA-DBN); 数据分类预测; MATLAB代码注释详细。,基于FSSSA-DBN的深度分类预测算法的MATLAB代码注释
基于自适应粒子群算法的源储容量配置优化策略:考虑合作博弈与Shapley分配模型的研究报告,考虑合作博弈的源储容量配置代码 采用自适应粒子群算法编写 考虑shapley分配模型对收益进行分配 容量配置+优化调度 本人亲自编写,附参考文献,可改写性强,可。 ,合作博弈; 自适应粒子群算法; 容量配置优化调度; 收益分配模型(Shapley); 参考注释。,基于Shapley分配的容量配置优化与调度代码:自适应粒子群算法的实现
nodejs010-nodejs-editor-0.0.5-1.el6.centos.alt.noarch.rpm
免费JAVA毕业设计 2024成品源码+论文+录屏+启动教程 启动教程:https://www.bilibili.com/video/BV1SzbFe7EGZ 项目讲解视频:https://www.bilibili.com/video/BV1Tb421n72S 二次开发教程:https://www.bilibili.com/video/BV18i421i7Dx
《深入解析与复现:基于ICMIC混沌初始化的SHSSA算法及其与SSA的对比研究》,麻雀搜索算法(SSA)复现:《螺旋探索与自适应混合变异的麻雀搜索算法_陈功》 策略为:ICMIC混沌初始化种群+螺旋探索改进发现者策略+精英差分扰动策略+随机反向扰动策略——SHSSA 复现内容包括:改进SSA算法实现、23个基准测试函数、改进策略因子画图分析、相关混沌图分析、与SSA对比等。 程序基本上每一步都有注释,非常易懂,代码质量极高,便于新手学习和理解。 ,麻雀搜索算法(SSA)复现; 螺旋探索; 自适应混合变异; ICMIC混沌初始化种群; 策略因子画图分析; 代码质量高; 对比实验。,麻雀搜索算法(SSA)的SHSSA策略复现与对比分析
免费JAVA毕业设计 2024成品源码+论文+数据库+启动教程 启动教程:https://www.bilibili.com/video/BV1SzbFe7EGZ 项目讲解视频:https://www.bilibili.com/video/BV1Tb421n72S 二次开发教程:https://www.bilibili.com/video/BV18i421i7Dx
基于MATLAB/SIMULINK仿真的永磁同步电动机双闭环控制系统研究:变频侧五电平控制与整流侧三电平控制的实现与优化(默认MATLAB 2018b环境),MATLAB,SIMULINK仿真 永磁同步电动机,转速电流双闭环 变频侧五电平控制,整流侧三电平控制 默认MATLAB2018b ,MATLAB; SIMULINK仿真; 永磁同步电动机; 转速电流双闭环; 五电平控制; 三电平控制; MATLAB2018b,MATLAB中永磁同步电机双闭环五电平控制策略研究
《利用HFSS软件自制的角锥(矩形)喇叭天线模型:结果展示与参数化调整教程》,HFSS角锥(矩形)喇叭天线 天线模型,附带结果,可改参数,HFSS软件包 自己做的,保证正确(有教程,具体到每一步,可以自己做出来参考bao gao) ,HFSS; 角锥喇叭天线; 矩形; 天线模型; 附带结果; 可改参数; HFSS软件包; 自制; 保证正确; 教程,HFSS软件角锥喇叭天线模型:可改参数保证正确结果
1、文件内容:publican-redhat-2.7-6.el7.rpm以及相关依赖 2、文件形式:tar.gz压缩包 3、安装指令: #Step1、解压 tar -zxvf /mnt/data/output/publican-redhat-2.7-6.el7.tar.gz #Step2、进入解压后的目录,执行安装 sudo rpm -ivh *.rpm 4、安装指导:私信博主,全程指导安装
,java多用户商城源码,多用户b2b2c商城源码,商城小程序源码,java小程序源码 PC+H5+小程序+APP源码,多用户商城APP源码, 开发语言:java+springboot+vue+uniapp
"MATLAB Simulink驱动下的光储微电网并网系统优化:改进光伏MPPT控制,实现蓄电池SOC均衡控制策略重构,拓展可增加蓄电池组的应用",MATLAB Simulink#改进光储微电网并网系统 光伏MPPT控制 蓄电池SOC均衡控制策略 重构,可增加蓄电池组 ,MATLAB Simulink; 改进光储微电网并网系统; 光伏MPPT控制; 蓄电池SOC均衡控制策略; 蓄电池组重构,"MATLAB Simulink下的光储微电网并网系统优化研究"
nodejs010-nodejs-ctype-0.5.3-3.1.el6.centos.alt.noarch.rpm
免费JAVA毕业设计 2024成品源码+论文+数据库+启动教程 启动教程:https://www.bilibili.com/video/BV1SzbFe7EGZ 项目讲解视频:https://www.bilibili.com/video/BV1Tb421n72S 二次开发教程:https://www.bilibili.com/video/BV18i421i7Dx