EE308_LAB9

Wei_Liu_19103832 Wei_Liu_19103832 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
The Link Your Class https://bbs.csdn.net/forums/MUEE308FZ
The Link of Requirement of This Assignment https://bbs.csdn.net/topics/603386400
MU STU ID and FZU STU ID19103832_831901226

Question

Live-streaming sale, through some Internet platforms, is a new way of service using live-streaming technology for close commodity display, consultation response, and shopping guide. Merchants can open their own live broadcast room, or employ professional anchors to recommend goods. At present, not only many celebrities flock into this field, but some big companies’ executives are also frequently involved. Please try to design a comprehensive live-streaming sale system.

(i) List some actors that interact with this system. Explain the relevance of each actor.

Actors:
The customer: the people who can go into the live broadcast room, buy goods, and evaluate the business.

The anthor: the people who open direct broadcast rooms to provide customers with commodity information, recommend customers to buy goods, delivery to customers.

Platform manager: the people who monitor the content of the broadcast room, monitor customer comments and maintain the platform.

(ii) Prepare a use case diagram for this system.

img

(iii) Prepare a normal scenario for each use case. (i.e. describe each use case in words)

The following is the description of the buyers logging in to the broadcast room:
(1) Anchors sell commodities;
(2) Buyers click on the list of goods;
(3) Buyers view the details of the product and related reviews, if they like to buy, otherwise they will view the next product or exit the product list;
(4) If the buyer purchases the goods;

  1. Payment;
  2. Check logistics;
  3. Confirm receipt of goods.

The following is the description of the situation of anchor creating a live broadcast room :
(1) The anchor establishes a live broadcast room;
(2) Release commodity information;
(3) Live broadcast to promote products.

The following is a description of the use case platform manager management background :
(1) The administrator builds the background;
(2) Display of products and comments;
(3) Order payment and tracking;
(4) Regular maintenance.

(iv)Prepare sequence diagrams or activity diagrams for primary scenarios. By the way, each scenario can be described by a sequence diagram or an activity diagram, but both diagrams must be used in this question.

Sequence diagram:

img

Activity diagram:

img

(v) Prepare a class diagram for this system. Explain which principles of object-oriented are applied in your design.

img

(vi) Prepare state diagrams for primary classes.

img

(vii) Write the skeleton code corresponding to the class diagram in C++, Java, Python, or C#.

#include <iostream>
using namespace std;
class commodity{
    public:
        string id;
        string name;
        int price;
        string classification;
};
class order:public commodity{
    public:
        string order_id;
        string data;
        string user_id;
        string com_id;
        double com_price;
        string sadto;
        void cancel();
        void modify();
        void look();
        virtual void buy();
        virtual void salereturn();
};
#include "order.h"
class Merchant{
    public:
        string id;
        string related_commodity;
        string numer_commodity;
        string related_live_room;
        void offer_commodity();
        void look_info();
        void choose_anchor();
        void deliver_goods() ;    
};
class customer{
    public:
        string id;
        string password: 
        int age;
        int balance;
        string address;
        void login();
           void modify_info();
        void look_info();
        void purchase();
        void watch_the_live_broadcast();
        void give_a_like();
        void collect();
        virtual void buy();
        virtual void salereturn();
        virtual void commit();
};
class live_online_room{
    public:
        string id;
        string name;
        string related_commodity;
        commodity com;
        void live streaming();
        void choose_commodity();
        void change_time();
        void look_info();
        virtual void commit();
    private:
        int balance;
        int address;
};
class Platform_manager{
    public:
        string id;
        string name;
        void login_admin();
        virtual void delete_commit();
};



...全文

相关推荐

EE-308 LAB4 final version.7z

这是本次实验的压缩包

晨起剪桃花

EE308-Lab8-AlphaSprint-Day7

EE308-Lab8-AlphaSprint-Day7Feedback From Members1. Beichen, ZhouModulePersonal SummaryCode &amp; Results2. Yuwei, JiangModulePersonal SummaryCode &amp; Results3. Yifan, ZhuModulePersonal Summary4. Yifan, ShenModulePersonal SummaryCode &amp; Results5. Shenk

调参侠鱼尾

【十万字拆解】从零开始实现GPT-2(完整版)

本文是一篇 14 万字、从零硬核实现 GPT 的保姆级指南。内容全面覆盖四个阶段:①从最基础的 Bigram 语言模型切入,跑通数据处理与训练闭环;②仿照 Transformer 架构,深度研究 Multi-Head Attention、残差网络、LayerNorm 及 Dropout 的底层数学与代码实现;③从零构建BPE 分词器,对齐 GPT-2 规范;④从头搭建 GPT-1/2 工业级预训练流程,包含混合精度、梯度累积等十余项硬件级工程调优,并在 AutoDL 算力平台上从0开始训练!适合所有层次!

Nicktsang19

【信息科学与工程学】【物理/化学科学和工程技术】知识体系073——电学基础04

​。

flyair_China

YOLO26算法煤气罐识别+训练好的模型+417张数据集+pyqt可视化界面.zip

附训练好的 YOLO 权重与 PyQt 可视化检测界面,页面底部含可视化效果预览,毕设/课设开箱即用。 【数据集概况】 · 检测类别(中文):[()] 【训练曲线与评估图】 【模型训练配置】 参数 | 值 模型 | yolo26n 训练轮数 | 100 epochs 输入尺寸 | 640x640 批次大小 | 24 优化器 | auto 初始学习率 | 0.01 训练设备 【关键指标汇总】 训练了 97 个 epoch,最终轮指标: 指标 | 数值 mAP50 | **0.8213** mAP50-95 | 0.6707 Precision | 0.8858 Recall | 0.7370 train/box_loss | 0.5927 train/cls_loss | 0.4692 val/box_loss | 0.7097 val/cls_loss | 0.8245 【训练过程分析】 训练过程中,模型在前几轮迅速收敛,loss 值从 0.5927 降到 0.7097,表明初期训练效果显著。loss 在第 10 轮降至最低点 0.5867,然后在接下来的 80 轮左右保持平稳,仅微幅波动在 0.5927 到 0.6000 之间,显示训练过程较为均衡,没有明显的过拟合迹象。整体来看,模型在训练后期趋于稳定,mAP50 从 0.6845 增长至 0.8213,提升较为平滑,显示出训练效果的稳健性。 模型在第 97 轮时,loss 稳定在较低水平,表明训练过程较为稳定,没有明显的过拟合迹象。从 PR 曲线可见,模型在检测精度和召回率方面表现均衡,特别是在高召回率时保持较高的精度。mAP50 为 0.8213,表明模型在中等难度的检测任务上表现良好。然而,mAP50-95 为 0.6707,说明在高难度检测任务... 使用场景:毕业设计、课程设计、深度学习入门、工业场景落地验证。

guo_xiao_xiao_
评论
收藏 已收藏
分享
返回顶部